Index: runtime/vm/service_test.cc |
diff --git a/runtime/vm/service_test.cc b/runtime/vm/service_test.cc |
index 53565812be2a4eaf9cc4bfbe12f26bb05265c741..5b119b82c534350dc239030add403d5656f5d51f 100644 |
--- a/runtime/vm/service_test.cc |
+++ b/runtime/vm/service_test.cc |
@@ -204,13 +204,13 @@ TEST_CASE(Service_Code) { |
entry); |
Service::HandleIsolateMessage(isolate, service_msg); |
handler.HandleNextMessage(); |
+ EXPECT_SUBSTRING("\"type\":\"Code\"", handler.msg()); |
{ |
// Only perform a partial match. |
const intptr_t kBufferSize = 512; |
char buffer[kBufferSize]; |
OS::SNPrint(buffer, kBufferSize-1, |
- "{\"type\":\"Code\",\"fixedId\":true," |
- "\"id\":\"code\\/%" Px64 "-%" Px "\",", |
+ "\"fixedId\":true,\"id\":\"code\\/%" Px64 "-%" Px "\",", |
compile_timestamp, |
entry); |
EXPECT_SUBSTRING(buffer, handler.msg()); |