mirror of
https://github.com/actions/setup-go
synced 2024-12-22 06:12:42 +00:00
lint
This commit is contained in:
parent
7837b03976
commit
5156bc5dd3
1 changed files with 2 additions and 2 deletions
|
@ -367,7 +367,7 @@ describe('setup-go', () => {
|
||||||
expect(annotation.column).toBe(2);
|
expect(annotation.column).toBe(2);
|
||||||
expect(annotation.file).toBe('../main.go');
|
expect(annotation.file).toBe('../main.go');
|
||||||
expect(annotation.message).toBe('undefined: fmt.Printl');
|
expect(annotation.message).toBe('undefined: fmt.Printl');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('matches on rooted unix path', async () => {
|
it('matches on rooted unix path', async () => {
|
||||||
let line = '/assert.go:4:1: missing return at end of function';
|
let line = '/assert.go:4:1: missing return at end of function';
|
||||||
|
@ -407,7 +407,7 @@ describe('setup-go', () => {
|
||||||
expect(annotation.column).toBe(2);
|
expect(annotation.column).toBe(2);
|
||||||
expect(annotation.file).toBe('..\\main.go');
|
expect(annotation.file).toBe('..\\main.go');
|
||||||
expect(annotation.message).toBe('undefined: fmt.Printl');
|
expect(annotation.message).toBe('undefined: fmt.Printl');
|
||||||
});
|
});
|
||||||
|
|
||||||
// 1.13.1 => 1.13.1
|
// 1.13.1 => 1.13.1
|
||||||
// 1.13 => 1.13.0
|
// 1.13 => 1.13.0
|
||||||
|
|
Loading…
Reference in a new issue