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

Unified Diff: runtime/tests/vm/dart/isolate_mirror_local_test.dart

Issue 18259021: Introduce StackTraceOnThrowMixin. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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
Index: runtime/tests/vm/dart/isolate_mirror_local_test.dart
diff --git a/runtime/tests/vm/dart/isolate_mirror_local_test.dart b/runtime/tests/vm/dart/isolate_mirror_local_test.dart
index 1ec7093646663cd80044a26774ea3a3f93f364a7..2f88abaaf735fd9557aa6b2017289075c5f313a4 100644
--- a/runtime/tests/vm/dart/isolate_mirror_local_test.dart
+++ b/runtime/tests/vm/dart/isolate_mirror_local_test.dart
@@ -327,11 +327,11 @@ void testLibrariesMap(Map libraries) {
Expect.equals(const Symbol('dart.core.OutOfMemoryError'),
oom_cls.qualifiedName);
Expect.isFalse(oom_cls.isPrivate);
- Expect.equals(const Symbol('Object'), oom_cls.superclass.simpleName);
+ Expect.equals(const Symbol('Error'), oom_cls.superclass.simpleName);
Expect.isTrue(oom_cls.defaultFactory == null);
Expect.equals(const Symbol('dart.core'), oom_cls.owner.simpleName);
Expect.isTrue(oom_cls.isClass);
- Expect.equals(const Symbol('Error'), oom_cls.superinterfaces[0].simpleName);
+ Expect.isTrue(oom_cls.superinterfaces.isEmpty);
// TODO(ahe): toString() test disabled for now as Symbols are 100% opaque.
// Expect.equals("ClassMirror on 'OutOfMemoryError'",
// oom_cls.toString());

Powered by Google App Engine
This is Rietveld 408576698