Skip to content

Commit

Permalink
path/to/go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
myaaaaaaaaa committed Jul 7, 2024
1 parent 751e97d commit 0b6174b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/setup-go.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -917,13 +917,13 @@ use .
});

it('go-version reports a read failure', async () => {
inputs['go-version'] = 'go.mod';
inputs['go-version'] = 'path/to/go.mod';
existsSpy.mockImplementation(() => false);

await main.run();

expect(cnSpy).toHaveBeenCalledWith(
`::error::The specified go version file at: go.mod does not exist${osm.EOL}`
`::error::The specified go version file at: path/to/go.mod does not exist${osm.EOL}`
);
});

Expand Down

0 comments on commit 0b6174b

Please sign in to comment.