Skip to content

Commit d6ee524

Browse files
committed
Fix tests
1 parent 163ea66 commit d6ee524

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/util.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ test('quote()', () => {
6161

6262
test('quotePowerShgell()', () => {
6363
assert.is(quotePowerShell('string'), 'string')
64-
assert.is(quotePowerShell(`'`), `''`)
64+
assert.is(quotePowerShell(`'`), `''''`)
6565
})
6666

6767
test('duration parsing works', () => {

test/win32.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ $.verbose = false
2222

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

2929
test('quotePowerShell works', async () => {

0 commit comments

Comments
 (0)