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', () => {
244244 expect ( spyGetToolcachePath ) . toHaveBeenCalled ( ) ;
245245 expect ( spyCoreAddPath ) . toHaveBeenCalled ( ) ;
246246 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
250250 ) ;
251+ expect ( spyCoreSetOutput ) . toHaveBeenCalled ( ) ;
251252 expect ( spyCoreInfo ) . toHaveBeenCalledWith ( 'Trying to resolve the latest version from remote' ) ;
252253 expect ( spyCoreInfo ) . toHaveBeenCalledWith ( `Resolved latest version as ${ expected . version } ` ) ;
253254 expect ( spyCoreInfo ) . toHaveBeenCalledWith ( 'Trying to download...' ) ;
You can’t perform that action at this time.
0 commit comments