3
0
Fork 0
mirror of https://gitea.com/actions/setup-go.git synced 2024-11-29 04:59:33 +01:00
This commit is contained in:
Bryan MacFarlane 2020-03-27 20:21:13 -04:00
parent 7837b03976
commit 5156bc5dd3

View file

@ -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