| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 | 7 |
| 6 class Conster { | 8 class Conster { |
| 7 const Conster(this.value); | 9 const Conster(this.value); |
| 8 | 10 |
| 9 final value; | 11 final value; |
| 10 | 12 |
| 11 toString() { | 13 toString() { |
| 12 return value.toString(); | 14 return value.toString(); |
| 13 } | 15 } |
| 14 } | 16 } |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 a""" "b" "e")).toString()); | 89 a""" "b" "e")).toString()); |
| 88 Expect.equals("a b e", (const Conster(""" | 90 Expect.equals("a b e", (const Conster(""" |
| 89 a""" " b" " e")).toString()); | 91 a""" " b" " e")).toString()); |
| 90 | 92 |
| 91 Expect.equals("abe", (const Conster(""" | 93 Expect.equals("abe", (const Conster(""" |
| 92 a""" """ | 94 a""" """ |
| 93 b""" """ | 95 b""" """ |
| 94 e""")).toString()); | 96 e""")).toString()); |
| 95 } | 97 } |
| 96 | 98 |
| OLD | NEW |