tests,json: Add wildcard string matching
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 14 Nov 2018 13:57:40 +0000 (14:57 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 14 Nov 2018 13:57:40 +0000 (14:57 +0100)
commit9a31fdcb11d04d47dfcc38a8409b84436c549108
tree19c1880c2acdb73821bfadbf37db6e1ebce0b869
parente55e467d5ffb32c428566a876616d309ef2d15cd
tests,json: Add wildcard string matching

* tests/json/t-json.c (test_contains): When searching for "*" accept
every string.

--
This allows it to write tests that check for the existence of
a string value but don't care about the contents. E.g. for Data.
tests/json/t-json.c