From 6f1d9dd9f40b000f03c209207e98d8a4469594bb Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 27 Feb 2012 03:26:59 +0000 Subject: Add options to use mmap or electric fence to check memory accesses, and fix a few memory access violations. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1294008 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/json/json-test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sca-cpp/trunk/modules/json/json-test.cpp') 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 il = streamList(is); const list r = elementsToValues(content(readJSON(il, cx))); - assert(r == l); + const list l2 = mklist(list() + "fruit" + (list() + string("Apple") + string("Orange"))); + assert(r == l2); } return true; } -- cgit v1.2.3