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 /** | 5 /** |
6 * A test of simple runtime behavior on numbers, strings and lists with | 6 * A test of simple runtime behavior on numbers, strings and lists with |
7 * a focus on both correct behavior and runtime errors. | 7 * a focus on both correct behavior and runtime errors. |
8 * | 8 * |
9 * This file is written to use minimal type declarations to match a | 9 * This file is written to use minimal type declarations to match a |
10 * typical dynamic language coding style. | 10 * typical dynamic language coding style. |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 '${true}'.toString(); | 281 '${true}'.toString(); |
282 '${false}'.toString(); | 282 '${false}'.toString(); |
283 ''.toString(); | 283 ''.toString(); |
284 ''.endsWith(''); | 284 ''.endsWith(''); |
285 } | 285 } |
286 } | 286 } |
287 | 287 |
288 main() { | 288 main() { |
289 CoreRuntimeTypesTest.testMain(); | 289 CoreRuntimeTypesTest.testMain(); |
290 } | 290 } |
OLD | NEW |