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

Unified Diff: tests/compiler/dart2js_native/fixup_get_tag_test.dart

Issue 20509002: Code review changes for r25379 (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: tests/compiler/dart2js_native/fixup_get_tag_test.dart
diff --git a/tests/compiler/dart2js_native/fixup_get_tag_test.dart b/tests/compiler/dart2js_native/fixup_get_tag_test.dart
index fbf9e3ad965cb2eade9e6c0b5f59a6449be66291..957fd2574d2176e6c5a1b89abac610d576e0302b 100644
--- a/tests/compiler/dart2js_native/fixup_get_tag_test.dart
+++ b/tests/compiler/dart2js_native/fixup_get_tag_test.dart
@@ -6,7 +6,7 @@ import "package:expect/expect.dart";
// Test for dartExperimentalFixupGetTag.
-class Foo native "A" { // There is one native class with dispatch tag 'A'.
+class Foo native "A" { // There is one native class with dispatch tag 'A'.
token() native;
}
@@ -47,4 +47,7 @@ main() {
// This call succeeds because the fixed-up 'getTag' method returns Foo's
// dispatch tag, and B is a faithful polyfil for Foo/A.
Expect.equals('isB', b.token());
+
+ Expect.isTrue(a is Foo);
+ Expect.isTrue(b is Foo);
}
« sdk/lib/_internal/lib/native_helper.dart ('K') | « sdk/lib/_internal/lib/native_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698