Skip to content

Commit 78a70ab

Browse files
committed
fix failing test
1 parent efc66bb commit 78a70ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/src/test/shared/extensions/ssh.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ describe('SSH Versioning', function () {
6262
it('asserts version is above threshold', async function () {
6363
const sshPath = path.join(tempDir.uri.fsPath, `ssh3${isWin() ? '.cmd' : ''}`)
6464
await createExecutableFile(sshPath, `echo "'OpenSSH_9.7p1, LibreSSL 3.3.6'"`)
65-
await assert.rejects(async () => await ensureSshVersionGte('', '9.10'))
66-
await assert.doesNotReject(async () => await ensureSshVersionGte('', '9.7.0'))
67-
await assert.doesNotReject(async () => await ensureSshVersionGte('', '9.2.0'))
65+
await assert.rejects(async () => await ensureSshVersionGte(sshPath, '9.10'))
66+
await assert.doesNotReject(async () => await ensureSshVersionGte(sshPath, '9.7.0'))
67+
await assert.doesNotReject(async () => await ensureSshVersionGte(sshPath, '9.2.0'))
6868
})
6969
})

0 commit comments

Comments
 (0)