mirror of
https://github.com/actions/setup-java.git
synced 2025-05-21 09:51:47 +00:00
Touchup test
This commit is contained in:
parent
b3288c7098
commit
201100f52f
@ -109,10 +109,10 @@ describe('installer tests', () => {
|
||||
expect(fs.existsSync(path.join(JavaDir, 'bin'))).toBe(true);
|
||||
}, 100000);
|
||||
|
||||
it('Throws if invalid java packge specified', async () => {
|
||||
it('Throws if invalid java package specified', async () => {
|
||||
let thrown = false;
|
||||
try {
|
||||
await installer.getJava('8.0.222', 'x64', '', 'badjdk');
|
||||
await installer.getJava('8.0.222', 'x64', '', 'bad jdk');
|
||||
} catch {
|
||||
thrown = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user