mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 18:06:45 +00:00
chore: update wordings
This commit is contained in:
parent
2e4e4de3b4
commit
3fd8616c89
3 changed files with 21 additions and 22 deletions
|
@ -202,7 +202,7 @@ describe('getAvailableVersions', () => {
|
|||
await expect(
|
||||
distribution['findPackageForDownload'](jdkVersion)
|
||||
).rejects.toThrow(
|
||||
`Couldn't find any satisfied version for the specified java-version: "${jdkVersion}".`
|
||||
`Couldn't find any satisfied version for the specified java-version: "${jdkVersion}" and architecture: "${arch}".`
|
||||
);
|
||||
}
|
||||
);
|
||||
|
@ -218,7 +218,6 @@ describe('getAvailableVersions', () => {
|
|||
checkLatest: false
|
||||
});
|
||||
mockPlatform(distribution, platform);
|
||||
|
||||
await expect(
|
||||
distribution['findPackageForDownload'](jdkVersion)
|
||||
).rejects.toThrow('Dragonwell provides only the `jdk` package type');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue