| Index: runtime/vm/service_test.cc
|
| ===================================================================
|
| --- runtime/vm/service_test.cc (revision 37613)
|
| +++ runtime/vm/service_test.cc (working copy)
|
| @@ -838,7 +838,9 @@
|
| "['limit'], ['3']]", class_b.id());
|
| Service::HandleIsolateMessage(isolate, service_msg);
|
| handler.HandleNextMessage();
|
| - ExpectSubstringF(handler.msg(), "\"type\":\"@Array\"");
|
| + ExpectSubstringF(handler.msg(), "\"type\":\"InstanceSet\"");
|
| + ExpectSubstringF(handler.msg(), "\"total_count\":2");
|
| + ExpectSubstringF(handler.msg(), "\"sample_count\":2");
|
| // TODO(koda): Actually parse the response.
|
| static const intptr_t kInstanceListId = 0;
|
| ExpectSubstringF(handler.msg(), "\"id\":\"objects\\/%" Pd "\",\"length\":2",
|
| @@ -854,7 +856,8 @@
|
| "['limit'], ['1']]", class_b.id());
|
| Service::HandleIsolateMessage(isolate, service_msg);
|
| handler.HandleNextMessage();
|
| - ExpectSubstringF(handler.msg(), "\"length\":1");
|
| + ExpectSubstringF(handler.msg(), "\"total_count\":2");
|
| + ExpectSubstringF(handler.msg(), "\"sample_count\":1");
|
| }
|
|
|
|
|
|
|