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)); |
} |