Skip to content

Commit bb83734

Browse files
committed
Fix test for Java version check
Signed-off-by: worksofliam <[email protected]>
1 parent 99101c4 commit bb83734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/testing/debug.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const DebugSuite: TestSuite = {
2424
assert.strictEqual(jdk11, connection.remoteFeatures.jdk17);
2525
}
2626

27-
assert.throws(() => getJavaHome(connection, '666'));
27+
assert.strictEqual(getJavaHome(connection, '666'), undefined);
2828
}
2929
}
3030
]

0 commit comments

Comments
 (0)