| 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 |
| 5 // Dart test for testing for in on a list literal. | 7 // Dart test for testing for in on a list literal. |
| 6 | 8 |
| 7 class ForInTest { | 9 class ForInTest { |
| 8 | 10 |
| 9 static testMain() { | 11 static testMain() { |
| 10 testSimple(); | 12 testSimple(); |
| 11 testGenericSyntax1(); | 13 testGenericSyntax1(); |
| 12 testGenericSyntax2(); | 14 testGenericSyntax2(); |
| 13 testGenericSyntax3(); | 15 testGenericSyntax3(); |
| 14 testGenericSyntax4(); | 16 testGenericSyntax4(); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 43 List<List<List<String>>> aCollection = []; | 45 List<List<List<String>>> aCollection = []; |
| 44 List<List<String>> strArrArr; | 46 List<List<String>> strArrArr; |
| 45 for (strArrArr in aCollection) {} | 47 for (strArrArr in aCollection) {} |
| 46 } | 48 } |
| 47 | 49 |
| 48 } | 50 } |
| 49 | 51 |
| 50 main() { | 52 main() { |
| 51 ForInTest.testMain(); | 53 ForInTest.testMain(); |
| 52 } | 54 } |
| OLD | NEW |