mirror of
https://github.com/actions/setup-python.git
synced 2025-02-23 15:20:30 +07:00
Fix lint
This commit is contained in:
parent
72902a03bd
commit
3794e54127
@ -31,7 +31,7 @@ describe('pythonVersions', () => {
|
||||
['3.14.0rc1t', {version: '3.14.0-rc.1', freethreaded: true}]
|
||||
])('%s -> %s', (input, expected) => {
|
||||
const {version, freethreaded} = desugarVersion(input);
|
||||
let semanticVersionSpec = pythonVersionToSemantic(version, false);
|
||||
const semanticVersionSpec = pythonVersionToSemantic(version, false);
|
||||
expect({version: semanticVersionSpec, freethreaded}).toEqual(expected);
|
||||
});
|
||||
|
||||
@ -48,7 +48,7 @@ describe('pythonVersions', () => {
|
||||
['3.14.0rc1t', {version: '3.14.0-rc.1', freethreaded: true}]
|
||||
])('%s (allowPreReleases=true) -> %s', (input, expected) => {
|
||||
const {version, freethreaded} = desugarVersion(input);
|
||||
let semanticVersionSpec = pythonVersionToSemantic(version, true);
|
||||
const semanticVersionSpec = pythonVersionToSemantic(version, true);
|
||||
expect({version: semanticVersionSpec, freethreaded}).toEqual(expected);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user