Chromium Code Reviews| Index: tests/lib/convert/json_lib_test.dart |
| diff --git a/tests/lib/convert/json_lib_test.dart b/tests/lib/convert/json_lib_test.dart |
| index f820273921f213d2852f8c54e6cb60cfc3801259..1226f7bb907276c1af0b997f97f62f1d43b7538e 100644 |
| --- a/tests/lib/convert/json_lib_test.dart |
| +++ b/tests/lib/convert/json_lib_test.dart |
| @@ -81,9 +81,8 @@ main() { |
| expect(JSON.encode(null), equals('null')); |
| expect(JSON.encode(' hi there" bob '), equals('" hi there\\" bob "')); |
| expect(JSON.encode('hi\\there'), equals('"hi\\\\there"')); |
| - // TODO(devoncarew): these tests break the dartium build |
|
ricow1
2014/04/03 05:29:22
Devon: is there a bug for this that we can close o
devoncarew
2014/04/03 07:24:28
Sorry, no. This comment dates back to when I start
|
| - //expect(JSON.encode('hi\nthere'), equals('"hi\\nthere"')); |
| - //expect(JSON.encode('hi\r\nthere'), equals('"hi\\r\\nthere"')); |
| + expect(JSON.encode('hi\nthere'), equals('"hi\\nthere"')); |
| + expect(JSON.encode('hi\r\nthere'), equals('"hi\\r\\nthere"')); |
| expect(JSON.encode(''), equals('""')); |
| // Lists. |