Skip to content

Commit 4424dc7

Browse files
committed
adjust tests
1 parent 734dae4 commit 4424dc7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,16 @@ describe('SSH Versioning', function () {
5454
assert.strictEqual(version, expectedVersion)
5555
}
5656

57-
await testSshVersion('ssh', 'OpenSSH_9.7p1, LibreSSL 3.3.6', '9.7')
58-
await testSshVersion('ssh2', 'OpenSSH_6.6.1p1, OpenSSL 1.0.1e-fips 11 Feb 2013', '6.6')
59-
await testSshVersion('ssh3', 'OpenSSH_7.4p1, OpenSSL 1.0.1e-fips 11 Feb 2013', '7.4')
57+
await testSshVersion('ssh', 'OpenSSH_9.7p1, LibreSSL 3.3.6', '9.7.0')
58+
await testSshVersion('ssh2', 'OpenSSH_6.6.1p1, OpenSSL 1.0.1e-fips 11 Feb 2013', '6.6.0')
59+
await testSshVersion('ssh3', 'OpenSSH_7.4p1, OpenSSL 1.0.1e-fips 11 Feb 2013', '7.4.0')
6060
})
6161

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'"`)
6565
assert.rejects(async () => await ensureSshVersionGte('', '9.10'))
66-
assert.doesNotReject(async () => await ensureSshVersionGte('', '9.7'))
67-
assert.doesNotReject(async () => await ensureSshVersionGte('', '9.2'))
66+
assert.doesNotReject(async () => await ensureSshVersionGte('', '9.7.0'))
67+
assert.doesNotReject(async () => await ensureSshVersionGte('', '9.2.0'))
6868
})
6969
})

0 commit comments

Comments
 (0)