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

Unified Diff: tests/language_strong/mixin_type_parameter4_test.dart

Issue 2861783002: fix more mixin tests to work in strong mode (Closed)
Patch Set: Created 3 years, 8 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/language_strong/mixin_type_parameter4_test.dart
diff --git a/tests/language_strong/mixin_type_parameter4_test.dart b/tests/language_strong/mixin_type_parameter4_test.dart
index 575058a5b58c3e89439892aa449ca6d9ea0baf21..d309b7f326422e60e8161a02a770f7c892ac4949 100644
--- a/tests/language_strong/mixin_type_parameter4_test.dart
+++ b/tests/language_strong/mixin_type_parameter4_test.dart
@@ -17,8 +17,8 @@ class A1<T> extends B1 with M<T> {}
class A2<T> = B2 with M<T>;
main() {
- var ab = new A1<int>();
- Expect.isTrue(ab is R<bool, int>);
- ab = new A2<int>();
- Expect.isTrue(ab is R<bool, int>);
+ var a1 = new A1<int>();
+ Expect.isTrue(a1 is R<bool, int>);
+ var a2 = new A2<int>();
+ Expect.isTrue(a2 is R<bool, int>);
}

Powered by Google App Engine
This is Rietveld 408576698