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