Index: test/string_matchers_test.dart |
diff --git a/test/string_matchers_test.dart b/test/string_matchers_test.dart |
index 7a7acbdbb92cb0e1dd942787634159483b2f0b38..c930bdbb0bfb401e8a612960a7eeafd1ab490125 100644 |
--- a/test/string_matchers_test.dart |
+++ b/test/string_matchers_test.dart |
@@ -12,6 +12,10 @@ import 'test_utils.dart'; |
void main() { |
initUtils(); |
+ test('Report mismatches in whitespace and escape sequences correctly', () { |
nweiz
2015/02/06 00:23:14
"Report" -> "Reports"
kevmoo
2015/02/06 02:58:59
Done.
|
+ shouldFail('\n', equals('\\n'), contains('Differ at offset 1')); |
+ }); |
+ |
test('collapseWhitespace', () { |
var source = '\t\r\n hello\t\r\n world\r\t \n'; |
expect(collapseWhitespace(source), 'hello world'); |