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
|
@ -43,7 +43,7 @@ class TestSubstitutions(TestCase):
|
|||
|
||||
def test_substitution(self):
|
||||
"""Verify substitution for task description"""
|
||||
self.t.config("regex", "off")
|
||||
self.t.config("regex", "0")
|
||||
|
||||
self.t("add foo foo foo")
|
||||
self.t("1 modify /foo/FOO/")
|
||||
|
@ -78,7 +78,7 @@ class TestSubstitutions(TestCase):
|
|||
|
||||
def test_substitution_regex(self):
|
||||
"""Verify regex substitution for task description"""
|
||||
self.t.config("regex", "on")
|
||||
self.t.config("regex", "1")
|
||||
self.t("add aaa bbb")
|
||||
self.t("1 modify /b{3}/BbB/")
|
||||
code, out, err = self.t("_get 1.description")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue