diff options
Diffstat (limited to 'sca-cpp/trunk/modules/json/json-test.cpp')
-rw-r--r-- | sca-cpp/trunk/modules/json/json-test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/json/json-test.cpp b/sca-cpp/trunk/modules/json/json-test.cpp index ac68d7573d..61aac4ee02 100644 --- a/sca-cpp/trunk/modules/json/json-test.cpp +++ b/sca-cpp/trunk/modules/json/json-test.cpp @@ -123,7 +123,8 @@ bool testJSON() { istringstream is(str(wos)); const list<string> il = streamList(is); const list<value> r = elementsToValues(content(readJSON(il, cx))); - assert(r == l); + const list<value> l2 = mklist<value>(list<value>() + "fruit" + (list<value>() + string("Apple") + string("Orange"))); + assert(r == l2); } return true; } |