mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Test: Change most tests to use "add test" instead of split arguments
This commit is contained in:
parent
d711bda35c
commit
27b8cabac1
76 changed files with 1179 additions and 1245 deletions
|
@ -43,15 +43,12 @@ class TestBug1254(TestCase):
|
|||
def test_no_segmentation_fault_calc_negative_multiplication(self):
|
||||
"""calc can multiply zero and negative numbers
|
||||
"""
|
||||
args = ("calc", "0*-1")
|
||||
self.run_command(args)
|
||||
self.run_command("calc 0*-1")
|
||||
|
||||
def test_calc_positive_multiplication(self):
|
||||
"""calc can multiply negative zero and positive
|
||||
"""
|
||||
|
||||
args = ("calc", "0*1")
|
||||
self.run_command(args)
|
||||
self.run_command("calc 0*1")
|
||||
|
||||
def run_command(self, args):
|
||||
code, out, err = self.t(args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue