-
-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I'm slightly concerned that this will hang in CI, the node readline module is a bit touchy when stdin is not a tty. If it's a huge problem, can just make the timeout signal make the test pass rather than fail, even though that's really not ideal. It seems really reliable when it is actually interactive, though.
- Loading branch information
Showing
4 changed files
with
295 additions
and
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* IMPORTANT | ||
* This snapshot file is auto-generated, but designed for humans. | ||
* It should be checked into source control and tracked carefully. | ||
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. | ||
* Make sure to inspect the output below. Do not ignore changes! | ||
*/ | ||
'use strict' | ||
exports[`test/bin.js TAP interactive deletes -V a > had any leftover 1`] = ` | ||
false | ||
` | ||
|
||
exports[`test/bin.js TAP interactive deletes -V hehaha, yes i think so, , A > had any leftover 1`] = ` | ||
false | ||
` | ||
|
||
exports[`test/bin.js TAP interactive deletes -V no, n, N, N, Q > had any leftover 1`] = ` | ||
true | ||
` | ||
|
||
exports[`test/bin.js TAP interactive deletes -V y, YOLO, no, quit > had any leftover 1`] = ` | ||
true | ||
` | ||
|
||
exports[`test/bin.js TAP interactive deletes -v a > had any leftover 1`] = ` | ||
false | ||
` | ||
|
||
exports[`test/bin.js TAP interactive deletes -v hehaha, yes i think so, , A > had any leftover 1`] = ` | ||
false | ||
` | ||
|
||
exports[`test/bin.js TAP interactive deletes -v no, n, N, N, Q > had any leftover 1`] = ` | ||
true | ||
` | ||
|
||
exports[`test/bin.js TAP interactive deletes -v y, YOLO, no, quit > had any leftover 1`] = ` | ||
true | ||
` |
Oops, something went wrong.