|
|
@ -80,7 +80,7 @@ describe('installer tests', () => {
|
|
|
|
|
|
|
|
|
|
|
|
it('Acquires latest release version of go if using 1.x and no matching version is installed', async () => {
|
|
|
|
it('Acquires latest release version of go if using 1.x and no matching version is installed', async () => {
|
|
|
|
await installer.getGo('1.x');
|
|
|
|
await installer.getGo('1.x');
|
|
|
|
const goDir = path.join(toolDir, 'go', '1.13.0-beta1', os.arch());
|
|
|
|
const goDir = path.join(toolDir, 'go', '1.13.0', os.arch());
|
|
|
|
|
|
|
|
|
|
|
|
expect(fs.existsSync(`${goDir}.complete`)).toBe(true);
|
|
|
|
expect(fs.existsSync(`${goDir}.complete`)).toBe(true);
|
|
|
|
if (IS_WINDOWS) {
|
|
|
|
if (IS_WINDOWS) {
|
|
|
|