From 44f2c0c98cb9d0bfce6ece2bb72d0c1d060366a6 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 19 Jan 2015 18:09:54 -0500 Subject: [PATCH] Unit Tests - Added JSON test which includes spaces. --- test/json.t.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/json.t.cpp b/test/json.t.cpp index ee6c256c5..6addffedd 100644 --- a/test/json.t.cpp +++ b/test/json.t.cpp @@ -45,6 +45,8 @@ const char *positive_tests[] = "{\n\"one\"\n:\n1\n}\n", + " { \"one\" : 1 } ", + "{\"name\":123, \"array\":[1,2,3.4], \"object\":{\"m1\":\"v1\", \"m2\":\"v2\"}}", "{\"name\":\"value\",\"array\":[\"one\",\"two\"],\"object\":{\"name2\":123,\"literal\":false}}",