Index: runtime/vm/json_test.cc |
diff --git a/runtime/vm/json_test.cc b/runtime/vm/json_test.cc |
index 3109cce7ce32ee5b5ebeafab67018f6c41fc43b1..bd0141e8dc18729520d5ce394f14f6bb367b31e5 100644 |
--- a/runtime/vm/json_test.cc |
+++ b/runtime/vm/json_test.cc |
@@ -302,7 +302,10 @@ TEST_CASE(JSON_JSONStream_DartObject) { |
JSONObject jsobj(&jsarr); |
jsobj.AddProperty("object_key", Object::Handle(Object::null())); |
} |
- EXPECT_STREQ("[{\"type\":\"null\"},{\"object_key\":{\"type\":\"null\"}}]", |
+ EXPECT_STREQ("[{\"type\":\"@Null\",\"id\":\"objects\\/null\"," |
+ "\"valueAsString\":\"null\"}," |
+ "{\"object_key\":{\"type\":\"@Null\",\"id\":\"objects\\/null\"," |
+ "\"valueAsString\":\"null\"}}]", |
js.ToCString()); |
} |