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

Unified Diff: tests/corelib_2/iterable_to_set_test.dart

Issue 2993743002: fix corelib_2/iterable_to_set_test to reflect strong mode runtime checks (Closed)
Patch Set: fix status 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 | « tests/corelib_2/corelib_2.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib_2/iterable_to_set_test.dart
diff --git a/tests/corelib_2/iterable_to_set_test.dart b/tests/corelib_2/iterable_to_set_test.dart
index b0056ffe13b1d6623d5256cda79693f3c71e818b..e04d49bb2460e3ce3cd164b356106ddc590b12d8 100644
--- a/tests/corelib_2/iterable_to_set_test.dart
+++ b/tests/corelib_2/iterable_to_set_test.dart
@@ -45,9 +45,10 @@ main() {
Expect.isFalse(setStrCopy is Set<int>);
Expect.isFalse(identical(setStrCopy, set2));
- setCopy = set3.toSet();
- Expect.setEquals(set3, setCopy);
- Expect.isTrue(setCopy is Set<String>);
- Expect.isTrue(setCopy is Set<int>);
- Expect.isFalse(identical(setCopy, set3));
+ var set3Copy = set3.toSet();
+ Expect.setEquals(set3, set3Copy);
+ Expect.isTrue(set3Copy is Set);
+ Expect.isFalse(set3Copy is Set<String>);
+ Expect.isFalse(set3Copy is Set<int>);
+ Expect.isFalse(identical(set3Copy, set3));
}
« no previous file with comments | « tests/corelib_2/corelib_2.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698