mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
bun run prettier
This commit is contained in:
committed by
github-actions[bot]
parent
9fa4669b35
commit
9cc96b90ae
@@ -26,15 +26,9 @@ describe("yes", async () => {
|
||||
});
|
||||
|
||||
describe("yes command", async () => {
|
||||
TestBuilder.command`yes | head -n 5`
|
||||
.stdout("y\ny\ny\ny\ny\n")
|
||||
.runAsTest("default output");
|
||||
TestBuilder.command`yes | head -n 5`.stdout("y\ny\ny\ny\ny\n").runAsTest("default output");
|
||||
|
||||
TestBuilder.command`yes xy | head -n 6`
|
||||
.stdout("xy\nxy\nxy\nxy\nxy\nxy\n")
|
||||
.runAsTest("custom expletive");
|
||||
TestBuilder.command`yes xy | head -n 6`.stdout("xy\nxy\nxy\nxy\nxy\nxy\n").runAsTest("custom expletive");
|
||||
|
||||
TestBuilder.command`yes ab cd ef | head -n 6`
|
||||
.stdout("ab\nab\nab\nab\nab\nab\n")
|
||||
.runAsTest("ignores extra args");
|
||||
TestBuilder.command`yes ab cd ef | head -n 6`.stdout("ab\nab\nab\nab\nab\nab\n").runAsTest("ignores extra args");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user