Skip to content

Commit

Permalink
Merge pull request #1 from anishi1222/anishi1222-patch-1
Browse files Browse the repository at this point in the history
Anishi1222 patch 1
  • Loading branch information
Akihiro Nishikawa authored and GitHub committed May 10, 2023
2 parents d70493e + 9ff43a1 commit cb77eb7
Show file tree
Hide file tree
Showing 2 changed files with 421 additions and 0 deletions.
20 changes: 20 additions & 0 deletions __tests__/distributors/microsoft-installer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,31 @@ describe('findPackageForDownload', () => {
});

it.each([
[
'17.0.1',
'17.0.1+12.1',
'https://aka.ms/download-jdk/microsoft-jdk-17.0.1.12.1-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}'
],
[
'17.x',
'17.0.7',
'https://aka.ms/download-jdk/microsoft-jdk-17.0.7-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}'
],
[
'16.0.x',
'16.0.2+7.1',
'https://aka.ms/download-jdk/microsoft-jdk-16.0.2.7.1-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}'
],
[
'11.0.13',
'11.0.13+8.1',
'https://aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}'
],
[
'11.0.15',
'11.0.15',
'https://aka.ms/download-jdk/microsoft-jdk-11.0.15-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}'
],
[
'11.x',
'11.0.19',
Expand Down
Loading

0 comments on commit cb77eb7

Please sign in to comment.