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

Unified Diff: tests/corelib_strong/iterable_empty_test.dart

Issue 2989993002: fix unsound cast failures in tests (Closed)
Patch Set: fix Created 3 years, 5 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 | « tests/corelib_2/sort_helper.dart ('k') | tests/corelib_strong/iterable_join_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib_strong/iterable_empty_test.dart
diff --git a/tests/corelib_strong/iterable_empty_test.dart b/tests/corelib_strong/iterable_empty_test.dart
index 79221982f51742a82193f8188169d839ca078785..d4147897e913fc34429eaf188d01dc0bc44e8652 100644
--- a/tests/corelib_strong/iterable_empty_test.dart
+++ b/tests/corelib_strong/iterable_empty_test.dart
@@ -5,7 +5,7 @@
import "package:expect/expect.dart";
main() {
- testEmpty(name, it, [depth = 2]) {
+ testEmpty(name, Iterable<int> it, [depth = 2]) {
Expect.isTrue(it.isEmpty, name);
Expect.isFalse(it.isNotEmpty, name);
Expect.equals(0, it.length, name);
« no previous file with comments | « tests/corelib_2/sort_helper.dart ('k') | tests/corelib_strong/iterable_join_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698