update test assertion

This commit is contained in:
Alif Rachmawadi 2019-09-05 13:27:28 +07:00
parent 21620fff65
commit bc6edb526d
No known key found for this signature in database
GPG Key ID: 79DA63C0F3A55BB1

View File

@ -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 () => {
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);
if (IS_WINDOWS) {