mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-05 14:13:15 +08:00
Test case fix for warning message changes
This commit is contained in:
2
packages/cache/__tests__/saveCache.test.ts
vendored
2
packages/cache/__tests__/saveCache.test.ts
vendored
@@ -298,6 +298,6 @@ test('save with non existing path should not save cache', async () => {
|
|||||||
return []
|
return []
|
||||||
})
|
})
|
||||||
await expect(saveCache([path], primaryKey)).rejects.toThrowError(
|
await expect(saveCache([path], primaryKey)).rejects.toThrowError(
|
||||||
`Path Validation Error: Path(s) specified in the action do not exist, hence no cache is being saved.`
|
`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user