Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Oct 4, 2022
1 parent 163ea66 commit d6ee524
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/util.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test('quote()', () => {

test('quotePowerShgell()', () => {
assert.is(quotePowerShell('string'), 'string')
assert.is(quotePowerShell(`'`), `''`)
assert.is(quotePowerShell(`'`), `''''`)
})

test('duration parsing works', () => {
Expand Down
4 changes: 2 additions & 2 deletions test/win32.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ $.verbose = false

if (process.platform === 'win32') {
test('should work with windows-specific commands', async () => {
const p = await $`ver`
assert.match(p.stdout, /Windows/)
const p = await $`get-host`
assert.match(p.stdout, /PowerShell/)
})

test('quotePowerShell works', async () => {
Expand Down

0 comments on commit d6ee524

Please sign in to comment.