Enhanced error message

This commit is contained in:
mahabaleshwars 2024-08-22 17:06:42 +05:30
parent 207edb9c3f
commit 3c65de9d02
3 changed files with 3 additions and 3 deletions

View file

@ -207,7 +207,7 @@ describe('findPackageForDownload', () => {
});
distribution['getAvailableVersions'] = async () => [];
await expect(distribution['findPackageForDownload']('8')).rejects.toThrow(
`Unsupported architecture for IBM Semeru: ${arch}, is not supported for IBM Semeru 8 on your current OS version. Please refer to IBM Semeru documentation or support resources to verify compatibility with your OS.`
`Unsupported architecture: ${arch} is not supported for IBM Semeru 8 on your current OS version. Please refer to IBM Semeru documentation or support resources to verify compatibility with your OS.`
);
}
);