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

Unified Diff: tests/language_2/function_type/function_type54_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_type54_test.dart
diff --git a/tests/language_2/function_type/function_type54_test.dart b/tests/language_2/function_type/function_type54_test.dart
index 02b23e2e7258d6b3525372e3b98bbd684a752d8e..30f30c35614f000f1d4d325dafa8a405ad973f1d 100644
--- a/tests/language_2/function_type/function_type54_test.dart
+++ b/tests/language_2/function_type/function_type54_test.dart
@@ -212,10 +212,10 @@ class U54<T> {
});
}
if (tIsInt || tIsBool) {
- Expect.equals(tIsInt, m0 is F0<int>);
- Expect.equals(tIsBool, m0 is F0<bool>);
- Expect.equals(tIsInt, confuse(m0) is F0<int>);
- Expect.equals(tIsBool, confuse(m0) is F0<bool>);
+ Expect.equals(true, m0 is F0<int>);
+ Expect.equals(true, m0 is F0<bool>);
+ Expect.equals(true, confuse(m0) is F0<int>);
+ Expect.equals(true, confuse(m0) is F0<bool>);
}
}
« no previous file with comments | « tests/language_2/function_type/function_type53_test.dart ('k') | tests/language_2/function_type/function_type56_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698