Index: runtime/vm/object_test.cc |
diff --git a/runtime/vm/object_test.cc b/runtime/vm/object_test.cc |
index 7a3c1c0cc21124c648e28a158d65c45badecb828..f5bd0024203668f8c88b5eeeb501f97d42d90656 100644 |
--- a/runtime/vm/object_test.cc |
+++ b/runtime/vm/object_test.cc |
@@ -4014,13 +4014,13 @@ class JSONTypeVerifier : public ObjectVisitor { |
return; |
} |
JSONStream js; |
- handle.PrintToJSONStream(&js, false); |
+ handle.PrintJSON(&js, false); |
EXPECT_SUBSTRING("\"type\":", js.ToCString()); |
} |
}; |
-TEST_CASE(PrintToJSONStream) { |
+TEST_CASE(PrintJSON) { |
Heap* heap = Isolate::Current()->heap(); |
heap->CollectAllGarbage(); |
JSONTypeVerifier verifier; |