mirror of
https://github.com/actions/setup-go.git
synced 2025-04-24 01:50:52 +00:00
Fix running test in windows
This commit is contained in:
parent
9d11520b50
commit
ed906bbadf
1 changed files with 2 additions and 2 deletions
|
@ -452,7 +452,7 @@ describe('setup-go', () => {
|
|||
expect(logSpy).toHaveBeenCalledWith(`Added go to the path`);
|
||||
expect(logSpy).toHaveBeenCalledWith(`Added GOBIN to the path`);
|
||||
|
||||
let expPath = '/Users/testuser/go/bin';
|
||||
let expPath = path.normalize('/Users/testuser/go/bin');
|
||||
expect(cnSpy).toHaveBeenCalledWith(`::add-path::${expPath}${osm.EOL}`);
|
||||
});
|
||||
|
||||
|
@ -480,7 +480,7 @@ describe('setup-go', () => {
|
|||
);
|
||||
expect(logSpy).toHaveBeenCalledWith(`Added GOBIN to the path`);
|
||||
|
||||
let expPath = '/Users/testuser/go/bin';
|
||||
let expPath = path.normalize('/Users/testuser/go/bin');
|
||||
expect(cnSpy).toHaveBeenCalledWith(`::add-path::${expPath}${osm.EOL}`);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue