| 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 // Tests map literals. | 5 // Tests map literals. |
| 6 | 6 |
| 7 class MapLiteralTest { | 7 class MapLiteralTest { |
| 8 MapLiteralTest() {} | 8 MapLiteralTest() {} |
| 9 | 9 |
| 10 static testMain() { | 10 static testMain() { |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 Expect.equals(2, map1["b"]); | 67 Expect.equals(2, map1["b"]); |
| 68 | 68 |
| 69 Expect.equals(1, map2["1"]); | 69 Expect.equals(1, map2["1"]); |
| 70 Expect.equals(2, map2["2"]); | 70 Expect.equals(2, map2["2"]); |
| 71 } | 71 } |
| 72 } | 72 } |
| 73 | 73 |
| 74 main() { | 74 main() { |
| 75 MapLiteralTest.testMain(); | 75 MapLiteralTest.testMain(); |
| 76 } | 76 } |
| OLD | NEW |