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

Unified Diff: tests/language_2/function_type/function_type22_test.dart

Issue 2998003002: Revert "fix #30462, update function_type tests to understand covariant generics" (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_2/function_type/function_type22_test.dart
diff --git a/tests/language_2/function_type/function_type22_test.dart b/tests/language_2/function_type/function_type22_test.dart
index 48b6b511e07a759cab9466fb75227862704ce2e3..c3ef4799863fb22c960bf4a87cb2f5a7271c18a4 100644
--- a/tests/language_2/function_type/function_type22_test.dart
+++ b/tests/language_2/function_type/function_type22_test.dart
@@ -269,10 +269,10 @@ class U22<T> {
});
}
if (tIsInt || tIsBool) {
- Expect.equals(true, m2 is F2<int>);
- Expect.equals(true, m2 is F2<bool>);
- Expect.equals(true, confuse(m2) is F2<int>);
- Expect.equals(true, confuse(m2) is F2<bool>);
+ Expect.equals(tIsInt, m2 is F2<int>);
+ Expect.equals(tIsBool, m2 is F2<bool>);
+ Expect.equals(tIsInt, confuse(m2) is F2<int>);
+ Expect.equals(tIsBool, confuse(m2) is F2<bool>);
}
}
« no previous file with comments | « tests/language_2/function_type/function_type21_test.dart ('k') | tests/language_2/function_type/function_type24_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698