mirror of
https://code.forgejo.org/actions/setup-python
synced 2025-06-08 04:18:19 +02:00
Fix Prettier
This commit is contained in:
parent
eff48d1071
commit
34bb7318ea
1 changed files with 6 additions and 1 deletions
|
@ -126,7 +126,12 @@ describe('Version from file test', () => {
|
||||||
const pythonVersionFileContent =
|
const pythonVersionFileContent =
|
||||||
'3.15/envs/virtualenv\r# 3.15\n3.14\r\n3.13\r\n 3.12 \r\n';
|
'3.15/envs/virtualenv\r# 3.15\n3.14\r\n3.13\r\n 3.12 \r\n';
|
||||||
fs.writeFileSync(pythonVersionFilePath, pythonVersionFileContent);
|
fs.writeFileSync(pythonVersionFilePath, pythonVersionFileContent);
|
||||||
expect(_fn(pythonVersionFilePath)).toEqual(['3.15', '3.14', '3.13', '3.12']);
|
expect(_fn(pythonVersionFilePath)).toEqual([
|
||||||
|
'3.15',
|
||||||
|
'3.14',
|
||||||
|
'3.13',
|
||||||
|
'3.12'
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
it.each([getVersionInputFromTomlFile, getVersionInputFromFile])(
|
it.each([getVersionInputFromTomlFile, getVersionInputFromFile])(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue