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

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

Issue 2998013002: Re-land "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_type25_test.dart
diff --git a/tests/language_2/function_type/function_type25_test.dart b/tests/language_2/function_type/function_type25_test.dart
index 5e489c0fff1472ef7b61d304eee82fd19301b837..7d2110ecd288833408b878dd8fa70fcd427d4fe0 100644
--- a/tests/language_2/function_type/function_type25_test.dart
+++ b/tests/language_2/function_type/function_type25_test.dart
@@ -296,10 +296,10 @@ class U25<T> {
});
}
if (tIsInt || tIsBool) {
- Expect.equals(tIsInt, m3 is F3<int>);
- Expect.equals(tIsBool, m3 is F3<bool>);
- Expect.equals(tIsInt, confuse(m3) is F3<int>);
- Expect.equals(tIsBool, confuse(m3) is F3<bool>);
+ Expect.equals(true, m3 is F3<int>);
+ Expect.equals(true, m3 is F3<bool>);
+ Expect.equals(true, confuse(m3) is F3<int>);
+ Expect.equals(true, confuse(m3) is F3<bool>);
}
}
« no previous file with comments | « tests/language_2/function_type/function_type24_test.dart ('k') | tests/language_2/function_type/function_type26_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698