Chromium Code Reviews| Index: tests/language/src/ExpectTest.dart |
| =================================================================== |
| --- tests/language/src/ExpectTest.dart (revision 5311) |
| +++ tests/language/src/ExpectTest.dart (working copy) |
| @@ -12,7 +12,7 @@ |
| print(msg); |
| return; |
| } |
| - Expect.equals("AB", a + "B"); |
| + Expect.equals("AB", a.concat("B")); |
|
kasperl
2012/03/12 06:55:42
String interpolation?
Ivan Posva
2012/04/11 14:26:00
Done.
|
| throw "Expect.equals did not fail"; |
| } |
| @@ -39,7 +39,7 @@ |
| } |
| static testIdentical(a) { |
| - var ab = a + "B"; |
| + var ab = a.concat("B"); |
|
kasperl
2012/03/12 06:55:42
String interpolation?
Ivan Posva
2012/04/11 14:26:00
Done.
|
| try { |
| Expect.identical("AB", ab); |
| } catch (Exception msg) { |