| Index: test/formatter_test.dart
|
| diff --git a/test/formatter_test.dart b/test/formatter_test.dart
|
| index ddf3b47e1efa10814668555f7242aef975126e16..d71b747ed40967398b9a89dd964a524ae7664ec6 100644
|
| --- a/test/formatter_test.dart
|
| +++ b/test/formatter_test.dart
|
| @@ -132,12 +132,12 @@ void main() {
|
| });
|
| });
|
|
|
| - test('throws a FormatterException on non-whitespace changes', () {
|
| + test('throws an UnexpectedOutputException on non-whitespace changes', () {
|
| // Use an invalid line ending character to ensure the formatter will
|
| // attempt to make non-whitespace changes.
|
| var formatter = new DartFormatter(lineEnding: '%');
|
| expect(() => formatter.format("var i = 1;"),
|
| - throwsA(new isInstanceOf<FormatException>()));
|
| + throwsA(new isInstanceOf<UnexpectedOutputException>()));
|
| });
|
| }
|
|
|
|
|