mirror of
https://gitea.com/actions/setup-go.git
synced 2024-11-24 21:15:38 +01:00
lint
This commit is contained in:
parent
7837b03976
commit
5156bc5dd3
@ -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 New Issue
Block a user