File tree 1 file changed +1
-13
lines changed 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change 1
1
import io = require( '@actions/io' ) ;
2
2
import fs = require( 'fs' ) ;
3
- import os = require( 'os' ) ;
4
3
import path = require( 'path' ) ;
5
4
6
5
const toolDir = path . join (
@@ -42,7 +41,7 @@ describe('Finder tests', () => {
42
41
// This will throw if it doesn't find it in the cache (because no such version exists)
43
42
let thrown = false ;
44
43
try {
45
- await finder . findPythonVersion ( '3.x ' , 'x64' ) ;
44
+ await finder . findPythonVersion ( '3.300000 ' , 'x64' ) ;
46
45
} catch {
47
46
thrown = true ;
48
47
}
@@ -56,15 +55,4 @@ describe('Finder tests', () => {
56
55
// This will throw if it doesn't find it in the cache (because no such version exists)
57
56
await finder . findPythonVersion ( 'pypy2' , 'x64' ) ;
58
57
} ) ;
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
- } ) ;
70
58
} ) ;
You can’t perform that action at this time.
0 commit comments