mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Tests: Updated to non-deprecated Boolean values
This commit is contained in:
parent
0b729b5d97
commit
d8bf209f29
23 changed files with 57 additions and 57 deletions
|
@ -50,7 +50,7 @@ class TestSugar(TestCase):
|
|||
self.assertIn("two", out)
|
||||
self.assertNotIn("three", out)
|
||||
|
||||
self.t.config("sugar", "off")
|
||||
self.t.config("sugar", "0")
|
||||
code, out, err = self.t("1 2 count")
|
||||
self.assertEqual(0, int(out))
|
||||
|
||||
|
@ -64,7 +64,7 @@ class TestSugar(TestCase):
|
|||
self.assertIn("three", out)
|
||||
|
||||
# sugar off: WYSIWYG parsing.
|
||||
self.t.config("sugar", "off")
|
||||
self.t.config("sugar", "0")
|
||||
code, out, err = self.t("3 and '( 2 three )' count")
|
||||
self.assertEqual(0, int(out))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue