-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid emitting carraige returns when not outputting to a TTY
- Loading branch information
Showing
35 changed files
with
212 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
Testing `test_color'. | ||
This run has ID `<uuid>'. | ||
|
||
... alpha 0 Output may or may not contain ANSII escape codes. [OK] alpha 0 Output may or may not contain ANSII escape codes. | ||
... alpha 1 according to whether or not [--color] is set. [OK] alpha 1 according to whether or not [--color] is set. | ||
... alpha 2 (See the corresponding [dune] file.). [OK] alpha 2 (See the corresponding [dune] file.). | ||
[OK] alpha 0 Output may or may not contain ANSII escape codes. | ||
[OK] alpha 1 according to whether or not [--color] is set. | ||
[OK] alpha 2 (See the corresponding [dune] file.). | ||
|
||
Full test results in `<build-context>/_build/_tests/<test-dir>'. | ||
Test Successful in <test-duration>s. 3 tests run. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Testing `suite-name'. | ||
This run has ID `<uuid>'. | ||
|
||
... test-a 0 Test case. [OK] test-a 0 Test case. | ||
[OK] test-a 0 Test case. | ||
|
||
Full test results in `<build-context>/_build/_tests/<test-dir>'. | ||
Test Successful in <test-duration>s. 1 test run. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
Testing `assert-and-verbose'. | ||
This run has ID `<uuid>'. | ||
|
||
... alpha 0 check → stdout.ASSERT alpha-0 check | ||
ASSERT alpha-0 check | ||
alpha-0 standard out | ||
[OK] alpha 0 check → stdout. | ||
... alpha 1 stdout → check. | ||
[OK] alpha 0 check → stdout. | ||
|
||
alpha-1 standard out | ||
ASSERT alpha-1 check | ||
[OK] alpha 1 stdout → check. | ||
... alpha 2 check → stderr.ASSERT alpha-2 check | ||
[OK] alpha 1 stdout → check. | ||
ASSERT alpha-2 check | ||
alpha-2 standard error | ||
[OK] alpha 2 check → stderr. | ||
... beta 0 stdout → check → stderr. | ||
[OK] alpha 2 check → stderr. | ||
|
||
beta-0 standard out | ||
ASSERT beta-0 check | ||
beta-0 standard error | ||
[OK] beta 0 stdout → check → stderr. | ||
[OK] beta 0 stdout → check → stderr. | ||
|
||
Test Successful in <test-duration>s. 4 tests run. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
Testing `assert-not-printed'. | ||
This run has ID `<uuid>'. | ||
|
||
... alpha 0 0. [OK] alpha 0 0. | ||
... alpha 1 1. [OK] alpha 1 1. | ||
... beta 0 2. [OK] beta 0 2. | ||
[OK] alpha 0 0. | ||
[OK] alpha 1 1. | ||
[OK] beta 0 2. | ||
|
||
Full test results in `<build-context>/_build/_tests/<test-dir>'. | ||
Test Successful in <test-duration>s. 3 tests run. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
Testing `suite-name'. | ||
This run has ID `<uuid>'. | ||
|
||
... test-a 0 First test case. [OK] test-a 0 First test case. | ||
... test-a 1 Second test case. [OK] test-a 1 Second test case. | ||
... test-b 0 Third test case. [OK] test-b 0 Third test case. | ||
... test-c 0 Fourth test case. [OK] test-c 0 Fourth test case. | ||
[OK] test-a 0 First test case. | ||
[OK] test-a 1 Second test case. | ||
[OK] test-b 0 Third test case. | ||
[OK] test-c 0 Fourth test case. | ||
|
||
Full test results in `<build-context>/_build/_tests/<test-dir>'. | ||
Test Successful in <test-duration>s. 4 tests run. |
Oops, something went wrong.