10000 Set fallback location in tests · cnfun/setup-python@d9226ca · GitHub
[go: up one dir, main page]

Skip to content

Commit d9226ca

Browse files
author
Danny McCormick
committed
Set fallback location in tests
1 parent ee2b5c6 commit d9226ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

__tests__/finder.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ import * as finder from '../src/find-python';
3131

3232
describe('Finder tests', () => {
3333
it('Finds Python if it is installed', async () => {
34-
const pythonDir: string = path.join(toolDir, 'python', '2.0.0', 'x64');
34+
const pythonDir: string = path.join(toolDir, 'python', '3.0.0', 'x64');
3535
await io.mkdirP(pythonDir);
3636
fs.writeFileSync(`${pythonDir}.complete`, 'hello');
3737
// This will throw if it doesn't find it in the cache (because no such version exists)
38-
await finder.findPythonVersion('2.x', 'x64');
38+
await finder.findPythonVersion('3.x', 'x64');
3939
});
4040

4141
it('Errors if Python is not installed', async () => {

0 commit comments

Comments
 (0)
0