| Index: test/prints_matcher_test.dart
|
| diff --git a/test/prints_matcher_test.dart b/test/prints_matcher_test.dart
|
| index 9c7dd4c550ba5bb50883787c6a0f536717ff5a0d..7680953e157b1c6706f3950d7653dc91d5bacca4 100644
|
| --- a/test/prints_matcher_test.dart
|
| +++ b/test/prints_matcher_test.dart
|
| @@ -79,29 +79,24 @@ void main() {
|
|
|
| test("describes a failure nicely", () {
|
| shouldFail(() => new Future(() => print("Hello, world!")),
|
| - prints("Goodbye, world!\n"),
|
| - "Expected: 'Goodbye, world!\\n' ''"
|
| + prints("Goodbye, world!\n"), "Expected: 'Goodbye, world!\\n' ''"
|
| " Actual: 'Hello, world!\\n' ''"
|
| " Which: is different. "
|
| "Expected: Goodbye, w ... "
|
| " Actual: Hello, wor ... "
|
| - " ^ Differ at offset 0",
|
| - isAsync: true);
|
| + " ^ Differ at offset 0", isAsync: true);
|
| });
|
|
|
| test("describes a failure with a non-descriptive Matcher nicely", () {
|
| shouldFail(() => new Future(() => print("Hello, world!")),
|
| - prints(contains("Goodbye")),
|
| - "Expected: contains 'Goodbye'"
|
| - " Actual: 'Hello, world!\\n' ''",
|
| - isAsync: true);
|
| + prints(contains("Goodbye")), "Expected: contains 'Goodbye'"
|
| + " Actual: 'Hello, world!\\n' ''", isAsync: true);
|
| });
|
|
|
| test("describes a failure with no text nicely", () {
|
| shouldFail(() => new Future.value(), prints(contains("Goodbye")),
|
| "Expected: contains 'Goodbye'"
|
| - " Actual: ''",
|
| - isAsync: true);
|
| + " Actual: ''", isAsync: true);
|
| });
|
| });
|
| }
|
|
|