mirror of
https://github.com/actions/setup-go
synced 2024-11-09 15:12:40 +00:00
update test assertion
This commit is contained in:
parent
21620fff65
commit
bc6edb526d
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue