Index: tests/corelib/iterable_generate_test.dart |
diff --git a/tests/corelib/iterable_generate_test.dart b/tests/corelib/iterable_generate_test.dart |
index abcae06e1c3034c06faf43051684e1fd4a1aa5c7..f3b1faae42b65a23ad9eae06a597fb4fabb4c195 100644 |
--- a/tests/corelib/iterable_generate_test.dart |
+++ b/tests/corelib/iterable_generate_test.dart |
@@ -59,12 +59,12 @@ main() { |
// Invalid types: |
Expect.throws(() => new Iterable<String>.generate(5)); |
- if (checkedMode) { /// 01: ok |
- Expect.throws(() => new Iterable<Null>.generate(5).elementAt(2)); /// 01: continued |
- } else { /// 01: continued |
- Iterable<dynamic> iter5 = new Iterable<Null>.generate(5); /// 01: continued |
- Expect.equals(2, iter5.elementAt(2)); /// 01: continued |
- } /// 01: continued |
+ if (checkedMode) { //# 01: ok |
+ Expect.throws(() => new Iterable<Null>.generate(5).elementAt(2)); //# 01: continued |
+ } else { //# 01: continued |
+ Iterable<dynamic> iter5 = new Iterable<Null>.generate(5); //# 01: continued |
+ Expect.equals(2, iter5.elementAt(2)); //# 01: continued |
+ } //# 01: continued |
Expect.throws(() => new Iterable<bool>.generate(5)); |
// Regression: https://github.com/dart-lang/sdk/issues/26358 |