Index: runtime/vm/service_test.cc |
diff --git a/runtime/vm/service_test.cc b/runtime/vm/service_test.cc |
index f6a20a15039b51a8d804db5e80400a04bcabcbb7..53565812be2a4eaf9cc4bfbe12f26bb05265c741 100644 |
--- a/runtime/vm/service_test.cc |
+++ b/runtime/vm/service_test.cc |
@@ -245,9 +245,8 @@ TEST_CASE(Service_Code) { |
address); |
Service::HandleIsolateMessage(isolate, service_msg); |
handler.HandleNextMessage(); |
- EXPECT_SUBSTRING("{\"type\":\"null\",\"fixedId\":true," |
- "\"id\":\"objects\\/null\"," |
- "\"valueAsString\":\"null\"", |
+ // TODO(turnidge): It is pretty broken to return an Instance here. Fix. |
+ EXPECT_SUBSTRING("\"kind\":\"Null\"", |
handler.msg()); |
// Request malformed native code. |
@@ -467,9 +466,10 @@ TEST_CASE(Service_Address) { |
service_msg = Eval(lib, buf); |
Service::HandleIsolateMessage(isolate, service_msg); |
handler.HandleNextMessage(); |
- EXPECT_SUBSTRING(ref ? "\"type\":\"@String\"" : |
- "\"type\":\"String\"", |
+ EXPECT_SUBSTRING(ref ? "\"type\":\"@Instance\"" : |
+ "\"type\":\"Instance\"", |
handler.msg()); |
+ EXPECT_SUBSTRING("\"kind\":\"String\"", handler.msg()); |
EXPECT_SUBSTRING("foobar", handler.msg()); |
} |
// Expect null when no object is found. |