@@ -207,29 +207,6 @@ describe('setup-go', () => {
207207 expect ( fileName ) . toBe ( 'go1.14rc1.linux-amd64.tar.gz' ) ;
208208 } ) ;
209209
210- it ( 'evaluates to stable with input as true' , async ( ) => {
211- inputs [ 'go-version' ] = '1.13.0' ;
212- inputs . stable = 'true' ;
213-
214- let toolPath = path . normalize ( '/cache/go/1.13.0/x64' ) ;
215- findSpy . mockImplementation ( ( ) => toolPath ) ;
216- await main . run ( ) ;
217-
218- expect ( logSpy ) . toHaveBeenCalledWith ( `Setup go stable version spec 1.13.0` ) ;
219- } ) ;
220-
221- it ( 'evaluates to stable with no input' , async ( ) => {
222- inputs [ 'go-version' ] = '1.13.0' ;
223-
224- inSpy . mockImplementation ( name => inputs [ name ] ) ;
225-
226- let toolPath = path . normalize ( '/cache/go/1.13.0/x64' ) ;
227- findSpy . mockImplementation ( ( ) => toolPath ) ;
228- await main . run ( ) ;
229-
230- expect ( logSpy ) . toHaveBeenCalledWith ( `Setup go stable version spec 1.13.0` ) ;
231- } ) ;
232-
233210 it ( 'finds a version of go already in the cache' , async ( ) => {
234211 inputs [ 'go-version' ] = '1.13.0' ;
235212
@@ -393,7 +370,6 @@ describe('setup-go', () => {
393370 await main . run ( ) ;
394371
395372 let expPath = path . join ( toolPath , 'bin' ) ;
396- expect ( logSpy ) . toHaveBeenCalledWith ( 'Setup go stable version spec 1.12.14' ) ;
397373 expect ( findSpy ) . toHaveBeenCalled ( ) ;
398374 expect ( logSpy ) . toHaveBeenCalledWith ( 'Attempting to download 1.12.14...' ) ;
399375 expect ( dlSpy ) . toHaveBeenCalled ( ) ;
@@ -605,7 +581,6 @@ describe('setup-go', () => {
605581
606582 await main . run ( ) ;
607583
608- expect ( logSpy ) . toHaveBeenCalledWith ( 'Setup go stable version spec 1.16' ) ;
609584 expect ( logSpy ) . toHaveBeenCalledWith ( `Found in cache @ ${ toolPath } ` ) ;
610585 } ) ;
611586
@@ -629,9 +604,6 @@ describe('setup-go', () => {
629604
630605 await main . run ( ) ;
631606
632- expect ( logSpy ) . toHaveBeenCalledWith (
633- `Setup go stable version spec ${ versionSpec } `
634- ) ;
635607 expect ( logSpy ) . toHaveBeenCalledWith (
636608 'Attempting to resolve the latest version from the manifest...'
637609 ) ;
0 commit comments