Hooks
- Modified expected output from an on-modify hooks script, because it's 1 line of JSON, not 2.
This commit is contained in:
@@ -327,7 +327,7 @@ void Hooks::onModify (const Task& before, Task& after)
|
|||||||
std::vector <std::string> outputFeedback;
|
std::vector <std::string> outputFeedback;
|
||||||
separateOutput (output, outputJSON, outputFeedback);
|
separateOutput (output, outputJSON, outputFeedback);
|
||||||
|
|
||||||
assertNTasks (outputJSON, 2);
|
assertNTasks (outputJSON, 1);
|
||||||
assertValidJSON (outputJSON);
|
assertValidJSON (outputJSON);
|
||||||
assertSameTask (outputJSON, before);
|
assertSameTask (outputJSON, before);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user