Skip to content

Commit 7256f72

Browse files
fix tests
1 parent a3c7267 commit 7256f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__tests__/distributors/base-installer.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ describe('setupJava', () => {
245245
expect(spyCoreAddPath).toHaveBeenCalled();
246246
expect(spyCoreExportVariable).toHaveBeenCalled();
247247
expect(spyCoreExportVariable).toHaveBeenCalledWith(
248-
`JAVA_HOME_${input.version}_${input.architecture}`,
248+
`JAVA_HOME_${input.version}_${input.architecture.toLocaleUpperCase()}`,
249249
expected.path
250250
);
251251
expect(spyCoreSetOutput).toHaveBeenCalled();

0 commit comments

Comments
 (0)