| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import "package:expect/expect.dart"; | |
| 6 | |
| 7 // Dart test for testing for in on a list literal. | 5 // Dart test for testing for in on a list literal. |
| 8 | 6 |
| 9 class ForInTest { | 7 class ForInTest { |
| 10 | 8 |
| 11 static testMain() { | 9 static testMain() { |
| 12 testSimple(); | 10 testSimple(); |
| 13 testGenericSyntax1(); | 11 testGenericSyntax1(); |
| 14 testGenericSyntax2(); | 12 testGenericSyntax2(); |
| 15 testGenericSyntax3(); | 13 testGenericSyntax3(); |
| 16 testGenericSyntax4(); | 14 testGenericSyntax4(); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 45 List<List<List<String>>> aCollection = []; | 43 List<List<List<String>>> aCollection = []; |
| 46 List<List<String>> strArrArr; | 44 List<List<String>> strArrArr; |
| 47 for (strArrArr in aCollection) {} | 45 for (strArrArr in aCollection) {} |
| 48 } | 46 } |
| 49 | 47 |
| 50 } | 48 } |
| 51 | 49 |
| 52 main() { | 50 main() { |
| 53 ForInTest.testMain(); | 51 ForInTest.testMain(); |
| 54 } | 52 } |
| OLD | NEW |