From d9226ca4fda2ad2b58245b6447528d84ae08ada4 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Thu, 11 Jul 2019 17:00:39 -0400 Subject: [PATCH] Set fallback location in tests --- __tests__/finder.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/finder.test.ts b/__tests__/finder.test.ts index 3ca2bd7..07bc133 100644 --- a/__tests__/finder.test.ts +++ b/__tests__/finder.test.ts @@ -31,11 +31,11 @@ import * as finder from '../src/find-python'; describe('Finder tests', () => { it('Finds Python if it is installed', async () => { - const pythonDir: string = path.join(toolDir, 'python', '2.0.0', 'x64'); + const pythonDir: string = path.join(toolDir, 'python', '3.0.0', 'x64'); await io.mkdirP(pythonDir); fs.writeFileSync(`${pythonDir}.complete`, 'hello'); // This will throw if it doesn't find it in the cache (because no such version exists) - await finder.findPythonVersion('2.x', 'x64'); + await finder.findPythonVersion('3.x', 'x64'); }); it('Errors if Python is not installed', async () => {