mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 01:46:46 +00:00
Touchup test
This commit is contained in:
parent
b3288c7098
commit
201100f52f
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue