3
0
Fork 0
mirror of https://gitea.com/actions/setup-python.git synced 2024-11-24 19:19:34 +01:00

case sensitive?

This commit is contained in:
Danny McCormick 2019-07-11 17:04:02 -04:00
parent d9226ca4fd
commit 7deb8583be

View file

@ -31,7 +31,7 @@ import * as finder from '../src/find-python';
describe('Finder tests', () => { describe('Finder tests', () => {
it('Finds Python if it is installed', async () => { it('Finds Python if it is installed', async () => {
const pythonDir: string = path.join(toolDir, 'python', '3.0.0', 'x64'); const pythonDir: string = path.join(toolDir, 'Python', '3.0.0', 'x64');
await io.mkdirP(pythonDir); await io.mkdirP(pythonDir);
fs.writeFileSync(`${pythonDir}.complete`, 'hello'); fs.writeFileSync(`${pythonDir}.complete`, 'hello');
// This will throw if it doesn't find it in the cache (because no such version exists) // This will throw if it doesn't find it in the cache (because no such version exists)