mirror of
https://github.com/actions/setup-go.git
synced 2026-02-04 06:28:21 +00:00
Fix typo
This commit is contained in:
parent
6e29faab03
commit
6644fa17f9
1 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ describe('restoreCache', () => {
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should inform if cache hit is not occured', async () => {
|
it('should inform if cache hit is not occurred', async () => {
|
||||||
// Arrange
|
// Arrange
|
||||||
hashFilesSpy.mockImplementation(() => Promise.resolve('file_hash'));
|
hashFilesSpy.mockImplementation(() => Promise.resolve('file_hash'));
|
||||||
restoreCacheSpy.mockImplementation(() => Promise.resolve(''));
|
restoreCacheSpy.mockImplementation(() => Promise.resolve(''));
|
||||||
|
|
@ -73,7 +73,7 @@ describe('restoreCache', () => {
|
||||||
expect(infoSpy).toHaveBeenCalledWith('Cache is not found');
|
expect(infoSpy).toHaveBeenCalledWith('Cache is not found');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should set output if cache hit is occured', async () => {
|
it('should set output if cache hit is occurred', async () => {
|
||||||
// Arrange
|
// Arrange
|
||||||
hashFilesSpy.mockImplementation(() => Promise.resolve('file_hash'));
|
hashFilesSpy.mockImplementation(() => Promise.resolve('file_hash'));
|
||||||
restoreCacheSpy.mockImplementation(() => Promise.resolve('cache_key'));
|
restoreCacheSpy.mockImplementation(() => Promise.resolve('cache_key'));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue