Skip to content

Commit

Permalink
Update test/completion.cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmurdoch committed Feb 13, 2024
1 parent eabf219 commit 8903aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/completion.cjs
Expand Up @@ -610,7 +610,7 @@ describe('Completion', () => {

it('santizes scriptName ($0) for use in a bash function', () => {
const r = checkUsage(
() => yargs([]).scriptName("1 test ing").showCompletionScript()
() => yargs([]).scriptName('1 test ing').showCompletionScript()
);

r.logs[0].should.match(/_1_test_ing/);
Expand Down

0 comments on commit 8903aac

Please sign in to comment.