mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- Updated expected error for on-modify-misbehave3 test hook script.
This commit is contained in:
parent
83519a44c6
commit
f83702076b
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ class TestHooksOnModify(TestCase):
|
|||
|
||||
code, out, err = self.t(("add", "foo"))
|
||||
code, out, err = self.t.runError(("1", "modify", "+tag"))
|
||||
self.assertIn("ERROR EXTRA JSON", err)
|
||||
self.assertIn("Hook Error: Expected 1 JSON task(s), found 2", err)
|
||||
self.t.hooks[hookname].assertTriggered()
|
||||
self.t.hooks[hookname].assertTriggeredCount(1)
|
||||
self.t.hooks[hookname].assertExitcode(0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue