Index: runtime/vm/report_test.cc |
diff --git a/runtime/vm/report_test.cc b/runtime/vm/report_test.cc |
index 4d99e01f5c7ce1ac0a49417820a45881e9ac0195..24a182594a2c9528072b1494a8b2b36caa631955 100644 |
--- a/runtime/vm/report_test.cc |
+++ b/runtime/vm/report_test.cc |
@@ -33,7 +33,7 @@ TEST_CASE(TraceJSWarning) { |
"\"id\":\"libraries\\/-1\\/scripts\\/Plug\"," |
"\"uri\":\"Plug\"," |
"\"_kind\":\"script\"},\"tokenPos\":0," |
- "\"message\":{\"type\":\"@String\"", |
+ "\"message\":{\"type\":\"@Instance\"", |
js.ToCString()); |
// Skip private _OneByteString. |
EXPECT_SUBSTRING("\"valueAsString\":\"High Voltage\"", |
@@ -51,7 +51,7 @@ TEST_CASE(TraceJSWarning) { |
"\"id\":\"libraries\\/-1\\/scripts\\/Plug\"," |
"\"uri\":\"Plug\"," |
"\"_kind\":\"script\"},\"tokenPos\":0," |
- "\"message\":{\"type\":\"@String\"", |
+ "\"message\":{\"type\":\"@Instance\"", |
trace_buffer->At(0)->message); |
// Skip private _OneByteString. |
EXPECT_SUBSTRING("\"valueAsString\":\"High Voltage\"", |
@@ -62,7 +62,7 @@ TEST_CASE(TraceJSWarning) { |
"\"id\":\"libraries\\/-1\\/scripts\\/Plug\"," |
"\"uri\":\"Plug\"," |
"\"_kind\":\"script\"},\"tokenPos\":1," |
- "\"message\":{\"type\":\"@String\"", |
+ "\"message\":{\"type\":\"@Instance\"", |
trace_buffer->At(1)->message); |
// Skip private _OneByteString. |
EXPECT_SUBSTRING("\"valueAsString\":\"Low Voltage\"", |