Skip to content

Commit

Permalink
test: add back commented out tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Aug 6, 2020
1 parent 39154ce commit 1a925d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/typescript/tokenize-arg-string.ts
@@ -1,6 +1,7 @@
/* global describe, it */
import { strictEqual } from 'assert'
import { tokenizeArgString } from '../../lib/tokenize-arg-string.js'
import { expect } from 'chai'

describe('TokenizeArgString', function () {
it('handles unquoted string', function () {
Expand All @@ -20,7 +21,7 @@ describe('TokenizeArgString', function () {
strictEqual(args[0], '--foo')
strictEqual(args[1], "'hello'")
})
/*

it('handles single quoted string with spaces', function () {
const args = tokenizeArgString("--foo 'hello world' --bar='foo bar'")
args[0].should.equal('--foo')
Expand Down Expand Up @@ -127,5 +128,5 @@ describe('TokenizeArgString', function () {
const args = tokenizeArgString(['--foo', '-bar'])
expect(args[0]).to.equal('--foo')
expect(args[1]).to.equal('-bar')
}) */
})
})

0 comments on commit 1a925d8

Please sign in to comment.