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

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

Issue 2291233002: Converted Observatory instance-view element (Closed)
Patch Set: Addressed comments Created 4 years, 4 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/contexts_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/type_arguments_test.dart
diff --git a/runtime/observatory/tests/service/type_arguments_test.dart b/runtime/observatory/tests/service/type_arguments_test.dart
index bfa2f93c98272b8c17900999f4b0a3e7cb193c2b..dd10523ddba37731b0453405021cceda42ee52c8 100644
--- a/runtime/observatory/tests/service/type_arguments_test.dart
+++ b/runtime/observatory/tests/service/type_arguments_test.dart
@@ -31,8 +31,8 @@ var tests = [
greaterThanOrEqualTo(instantiatedTypeArgsList.length));
// Check that we can 'get' this object again.
var firstType = allTypeArgsList[0];
- return isolate.getObject(firstType['id']).then((ServiceMap map) {
- expect(firstType['name'], map['name']);
+ return isolate.getObject(firstType.id).then((TypeArguments type) {
+ expect(firstType.name, type.name);
});
});
}),
« no previous file with comments | « runtime/observatory/tests/service/contexts_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698