chore: update wordings

This commit is contained in:
Ivan Zosimov 2023-09-20 11:15:37 +02:00
parent 2e4e4de3b4
commit 3fd8616c89
3 changed files with 21 additions and 22 deletions

View file

@ -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');