File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change 11import io = require( '@actions/io' ) ;
22import fs = require( 'fs' ) ;
3- import os = require( 'os' ) ;
43import path = require( 'path' ) ;
54
65const toolDir = path . join (
@@ -42,7 +41,7 @@ describe('Finder tests', () => {
4241 // This will throw if it doesn't find it in the cache (because no such version exists)
4342 let thrown = false ;
4443 try {
45- await finder . findPythonVersion ( '3.x ' , 'x64' ) ;
44+ await finder . findPythonVersion ( '3.300000 ' , 'x64' ) ;
4645 } catch {
4746 thrown = true ;
4847 }
@@ -56,15 +55,4 @@ describe('Finder tests', () => {
5655 // This will throw if it doesn't find it in the cache (because no such version exists)
5756 await finder . findPythonVersion ( 'pypy2' , 'x64' ) ;
5857 } ) ;
59-
60- it ( 'Errors if PyPy is not installed' , async ( ) => {
61- // This will throw if it doesn't find it in the cache (because no such version exists)
62- let thrown = false ;
63- try {
64- await finder . findPythonVersion ( 'pypy3' , 'x64' ) ;
65- } catch {
66- thrown = true ;
67- }
68- expect ( thrown ) . toBeTruthy ( ) ;
69- } ) ;
7058} ) ;
You can’t perform that action at this time.
0 commit comments