Skip to content

Commit

Permalink
Update pipe test to find spelling errors instead of listing them
Browse files Browse the repository at this point in the history
Changed the command in the pipe test to find spelling errors instead
of listing them for better accuracy and clarity.

Generated by gpt-3.5-turbo
  • Loading branch information
joone committed Feb 22, 2024
1 parent 48d4993 commit 6ec219a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pipe.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe("Test loz pipe mode", function () {
// echo "helo, world!" | loz "list any spelling errors"
it("should list any spelling errors", function (done) {
exec(
`echo "helo, world!" | node ${LOZ_BIN} "list any spelling errors"`,
`echo "helo, world!" | node ${LOZ_BIN} "Find any spelling errors"`,
(error, stdout, stderr) => {
if (error) {
done(error);
Expand Down

0 comments on commit 6ec219a

Please sign in to comment.