File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -244,10 +244,11 @@ describe('setupJava', () => {
244
244
expect ( spyGetToolcachePath ) . toHaveBeenCalled ( ) ;
245
245
expect ( spyCoreAddPath ) . toHaveBeenCalled ( ) ;
246
246
expect ( spyCoreExportVariable ) . toHaveBeenCalled ( ) ;
247
- expect ( spyCoreSetOutput ) . toHaveBeenCalled ( ) ;
248
- expect ( spyCoreSetOutput ) . toHaveBeenCalledWith (
249
- `JAVA_HOME_ ${ input . version } _ ${ input . architecture . toUpperCase ( ) } `
247
+ expect ( spyCoreExportVariable ) . toHaveBeenCalledWith (
248
+ `JAVA_HOME_ ${ input . version } _ ${ input . architecture } ` ,
249
+ expected . path
250
250
) ;
251
+ expect ( spyCoreSetOutput ) . toHaveBeenCalled ( ) ;
251
252
expect ( spyCoreInfo ) . toHaveBeenCalledWith ( 'Trying to resolve the latest version from remote' ) ;
252
253
expect ( spyCoreInfo ) . toHaveBeenCalledWith ( `Resolved latest version as ${ expected . version } ` ) ;
253
254
expect ( spyCoreInfo ) . toHaveBeenCalledWith ( 'Trying to download...' ) ;
You can’t perform that action at this time.
0 commit comments