fix parsing invalid depends from server

The data from the server is read via Task::parseJSON, not Task::parse.

This also reverts the tests for Task::parse, and adds new tests for this
specific issue.
This commit is contained in:
Dustin J. Mitchell 2022-01-17 23:36:32 +00:00 committed by Tomas Babej
parent 7321febe4f
commit 28e268bd26
5 changed files with 110 additions and 59 deletions

1
test/.gitignore vendored
View file

@ -34,5 +34,6 @@ variant_partial.t
variant_subtract.t
variant_xor.t
view.t
tw-2689.t
json_test