Fix running test in windows

pull/89/head
Leigh McCulloch 5 years ago
parent 9d11520b50
commit ed906bbadf
No known key found for this signature in database
GPG Key ID: 02EA740790312BC4

@ -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…
Cancel
Save