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

Unified Diff: tests/language_2/function_type/function_type0_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
« no previous file with comments | « no previous file | tests/language_2/function_type/function_type10_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_2/function_type/function_type0_test.dart
diff --git a/tests/language_2/function_type/function_type0_test.dart b/tests/language_2/function_type/function_type0_test.dart
index f01e0208bd8dbdb687c50bb33e519716a402d1ee..4391b6643a6643d7651cee02a4a76b662af9e4f6 100644
--- a/tests/language_2/function_type/function_type0_test.dart
+++ b/tests/language_2/function_type/function_type0_test.dart
@@ -221,10 +221,10 @@ class U0<T> {
});
}
if (tIsInt || tIsBool) {
- Expect.equals(true, m1 is F1<int>);
- Expect.equals(true, m1 is F1<bool>);
- Expect.equals(true, confuse(m1) is F1<int>);
- Expect.equals(true, confuse(m1) is F1<bool>);
+ Expect.equals(tIsInt, m1 is F1<int>);
+ Expect.equals(tIsBool, m1 is F1<bool>);
+ Expect.equals(tIsInt, confuse(m1) is F1<int>);
+ Expect.equals(tIsBool, confuse(m1) is F1<bool>);
}
}
« no previous file with comments | « no previous file | tests/language_2/function_type/function_type10_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698