Skip to content

Commit 68d6eb6

Browse files
committed
fix the JSON data on objectDataTypesTest()
1 parent 5663b6b commit 68d6eb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/test/Test.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ void objectDataTypesTest() {
5757
ParseObjectCreate create;
5858
create.setClassName("TestObject");
5959
create.addGeoPoint("location", 40.0, -30.0);
60-
create.addJSONValue("dateField", "{ \"__type\": \"Date\", \"iso\": \"2011-08-21T18:02:52.249Z\" }");
61-
create.addJSONValue("arrayField", "[ 30, \"s\" ]");
60+
create.addJSONValue("dateField", "{\"__type\":\"Date\",\"iso\":\"2011-08-21T18:02:52.249Z\"}");
61+
create.addJSONValue("arrayField", "[30,\"s\"]");
6262
create.addJSONValue("emptyField", "null");
6363
ParseResponse createResponse = create.send();
6464
assert(createResponse.getErrorCode() == 0);

0 commit comments

Comments
 (0)