mirror of
https://github.com/actions/setup-java.git
synced 2025-04-19 17:36:45 +00:00
Fix Tests on Windows
This commit is contained in:
parent
19d961aec0
commit
35c79ae667
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ describe('getAvailableVersions', () => {
|
||||||
|
|
||||||
const length =
|
const length =
|
||||||
os.platform() === 'win32'
|
os.platform() === 'win32'
|
||||||
? manifestData.length - 2
|
? manifestData.length - 1
|
||||||
: manifestData.length + 1;
|
: manifestData.length + 1;
|
||||||
expect(availableVersions.length).toBe(length);
|
expect(availableVersions.length).toBe(length);
|
||||||
}, 10_000);
|
}, 10_000);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue