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 main() { | 7 main() { |
6 testEmpty(); | 8 testEmpty(); |
7 testInterpolation(); | 9 testInterpolation(); |
8 testMultiline(); | 10 testMultiline(); |
9 } | 11 } |
10 | 12 |
11 testEmpty() { | 13 testEmpty() { |
12 Expect.equals("", "" "" ""); | 14 Expect.equals("", "" "" ""); |
13 Expect.equals("", "" '' ""); | 15 Expect.equals("", "" '' ""); |
14 Expect.equals("", "" "" r""); | 16 Expect.equals("", "" "" r""); |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 a""" "b" "e"); | 77 a""" "b" "e"); |
76 Expect.equals("a b e", """ | 78 Expect.equals("a b e", """ |
77 a""" " b" " e"); | 79 a""" " b" " e"); |
78 | 80 |
79 Expect.equals("abe", """ | 81 Expect.equals("abe", """ |
80 a""" """ | 82 a""" """ |
81 b""" """ | 83 b""" """ |
82 e"""); | 84 e"""); |
83 } | 85 } |
84 | 86 |
OLD | NEW |