Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove .only
  • Loading branch information
jly36963 committed Jul 20, 2021
commit 95a1f4d0a5b66e9daa4dcfe835d4912d1ae726a4
4 changes: 2 additions & 2 deletions test/yargs-parser.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3588,15 +3588,15 @@ describe('yargs-parser', function () {
args.bar.should.equal('--goodnight moon')
})

it.only('respects inner quotes (string)', function () {
it('respects inner quotes (string)', function () {
const args = parser('cmd --foo ""Hello"" --bar ""World"" --baz "":)""')
console.log('string', {args})
args.foo.should.equal('"Hello"')
args.bar.should.equal('"World"')
args.baz.should.equal('":)"')
})

it.only('respects inner quotes (array)', function () {
it('respects inner quotes (array)', function () {
const args = parser(['cmd', '--foo', '"Hello"', '--bar', '"World"', '--baz', '":)"'])
console.log('array', {args})
args.foo.should.equal('"Hello"')
Expand Down