mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
fix cache restore tests
This commit is contained in:
parent
f3bb768479
commit
07c09af2d5
1 changed files with 2 additions and 4 deletions
|
@ -63,11 +63,9 @@ describe('restore-cache', () => {
|
|||
it.each(['npm', 'pip2', 'pip21', 'pip21.3', 'pipenv32'])(
|
||||
'Throw an error because %s is not supported',
|
||||
async packageManager => {
|
||||
await expect(
|
||||
expect(() =>
|
||||
getCacheDistributor(packageManager, '3.8.12', undefined)
|
||||
).rejects.toThrowError(
|
||||
`Caching for '${packageManager}' is not supported`
|
||||
);
|
||||
).toThrowError(`Caching for '${packageManager}' is not supported`);
|
||||
}
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue