| Index: test/string_matchers_test.dart
|
| diff --git a/test/string_matchers_test.dart b/test/string_matchers_test.dart
|
| index 7a7acbdbb92cb0e1dd942787634159483b2f0b38..4cebd588ae4525dfac5468d4adbe3c1a130830b3 100644
|
| --- a/test/string_matchers_test.dart
|
| +++ b/test/string_matchers_test.dart
|
| @@ -12,6 +12,11 @@ import 'test_utils.dart';
|
| void main() {
|
| initUtils();
|
|
|
| + test('Reports mismatches in whitespace and escape sequences', () {
|
| + shouldFail('before\nafter', equals('before\\nafter'),
|
| + contains('Differ at offset 7'));
|
| + });
|
| +
|
| test('collapseWhitespace', () {
|
| var source = '\t\r\n hello\t\r\n world\r\t \n';
|
| expect(collapseWhitespace(source), 'hello world');
|
|
|