Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Unified Diff: runtime/observatory/tests/service/get_object_store_rpc_test.dart

Issue 2940523003: Cleaned analysis result for observatory (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/observatory/tests/service/get_native_allocation_samples_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/service/get_object_store_rpc_test.dart
diff --git a/runtime/observatory/tests/service/get_object_store_rpc_test.dart b/runtime/observatory/tests/service/get_object_store_rpc_test.dart
index a15abca78cf0cf906944fd8eba47d4fdce3c1089..5582895bcd1847520f945a578f6e544df811bfb0 100644
--- a/runtime/observatory/tests/service/get_object_store_rpc_test.dart
+++ b/runtime/observatory/tests/service/get_object_store_rpc_test.dart
@@ -36,9 +36,10 @@ var tests = [
// Sanity check.
expect(object_store.fields.length, greaterThanOrEqualTo(1));
// Checking Closures.
- expect(object_store.fields.singleWhere(isClosureFunctionsList), isNotNull);
- expect(object_store.fields.singleWhere(isClosureFunctionsList).value.isList,
- isTrue);
+ var single = object_store.fields.singleWhere(isClosureFunctionsList);
+ expect(single, isNotNull);
+ var value = single.value as Instance;
+ expect(value.isList, isTrue);
}
];
« no previous file with comments | « runtime/observatory/tests/service/get_native_allocation_samples_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698