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

Unified Diff: tests/language_strong/function_subtype_not1_test.dart

Issue 2995813002: fix #30423, covariant parameter tearoff type should be Object (Closed)
Patch Set: Created 3 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
Index: tests/language_strong/function_subtype_not1_test.dart
diff --git a/tests/language_strong/function_subtype_not1_test.dart b/tests/language_strong/function_subtype_not1_test.dart
index 13227a177468214d4816b03b4c83c8741683de38..431bb765ae5ce7187779fae9598bdd649c9112ab 100644
--- a/tests/language_strong/function_subtype_not1_test.dart
+++ b/tests/language_strong/function_subtype_not1_test.dart
@@ -21,12 +21,12 @@ void main() {
Expect.isFalse(new Class().bar is! Bar);
Expect.isFalse(new Class<int>().bar is! Foo);
- Expect.isTrue(new Class<int>().bar is! Foo<bool>);
+ Expect.isFalse(new Class<int>().bar is! Foo<bool>);
Expect.isFalse(new Class<int>().bar is! Foo<int>);
Expect.isFalse(new Class<int>().bar is! Bar);
Expect.isFalse(new Class<bool>().bar is! Foo);
Expect.isFalse(new Class<bool>().bar is! Foo<bool>);
- Expect.isTrue(new Class<bool>().bar is! Foo<int>);
- Expect.isTrue(new Class<bool>().bar is! Bar);
+ Expect.isFalse(new Class<bool>().bar is! Foo<int>);
+ Expect.isFalse(new Class<bool>().bar is! Bar);
}

Powered by Google App Engine
This is Rietveld 408576698