Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d9226ca

Browse filesBrowse files
author
Danny McCormick
committed
Set fallback location in tests
1 parent ee2b5c6 commit d9226ca
Copy full SHA for d9226ca

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎__tests__/finder.test.ts

Copy file name to clipboardExpand all lines: __tests__/finder.test.ts
+2-2Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.