mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- Added JSON test which includes spaces.
This commit is contained in:
parent
654159b2fd
commit
44f2c0c98c
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,8 @@ const char *positive_tests[] =
|
||||||
|
|
||||||
"{\n\"one\"\n:\n1\n}\n",
|
"{\n\"one\"\n:\n1\n}\n",
|
||||||
|
|
||||||
|
" { \"one\" : 1 } ",
|
||||||
|
|
||||||
"{\"name\":123, \"array\":[1,2,3.4], \"object\":{\"m1\":\"v1\", \"m2\":\"v2\"}}",
|
"{\"name\":123, \"array\":[1,2,3.4], \"object\":{\"m1\":\"v1\", \"m2\":\"v2\"}}",
|
||||||
|
|
||||||
"{\"name\":\"value\",\"array\":[\"one\",\"two\"],\"object\":{\"name2\":123,\"literal\":false}}",
|
"{\"name\":\"value\",\"array\":[\"one\",\"two\"],\"object\":{\"name2\":123,\"literal\":false}}",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue