mirror of
https://github.com/github/codeql.git
synced 2026-01-29 06:12:58 +01:00
Fix tests for go 1.17
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
| -:0:0:0:0 | package ; expected main |
|
||||
| broken2/test1.go:4:2:4:2 | undeclared name: fmt |
|
||||
| broken2/test1.go:5:2:5:2 | undeclared name: fmt |
|
||||
| broken2/test1.go:5:14:5:14 | undeclared name: a |
|
||||
| broken2/test.go:3:1:3:1 | expected 'package', found pac |
|
||||
| broken2/test.go:3:1:3:1 | expected 'package', found pac |
|
||||
| broken2/test.go:3:4:3:4 | expected 'IDENT', found newline |
|
||||
| broken2/test.go:3:5:3:5 | expected ';', found 'EOF' |
|
||||
| broken/test.go:7:1:7:1 | expected declaration, found This |
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
| -:0:0:0:0 | package ; expected nonexistent |
|
||||
| vendor/github.com/github/nonexistent/bad.go:1:57:1:57 | expected ';', found 'EOF' |
|
||||
| vendor/github.com/github/nonexistent/bad.go:1:57:1:57 | expected 'IDENT', found 'EOF' |
|
||||
| vendor/github.com/github/nonexistent/bad.go:1:57:1:57 | expected 'package', found 'EOF' |
|
||||
| vendor/github.com/github/nonexistent/bad.go:1:57:1:57 | expected 'package', found 'EOF' |
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
| -:0:0:0:0 | malformed import path "github.com/github/codeql-go/ql/test/query-tests/Diagnostics/invalid{": invalid char '{' |
|
||||
| -:0:0:0:0 | package ; expected main |
|
||||
| bad.go:3:1:3:1 | expected 'package', found avvu |
|
||||
| bad.go:3:1:3:1 | expected 'package', found avvu |
|
||||
| bad.go:3:5:3:5 | expected 'IDENT', found newline |
|
||||
| bad.go:5:1:5:1 | expected ';', found wnvwun |
|
||||
| badimport.go:6:2:6:2 | invalid import path (invalid character U+007B '{') |
|
||||
| badimport.go:6:2:6:2 | invalid import path: "github.com/pkg{}" |
|
||||
| type.go:11:9:11:9 | cannot use v (variable of type V) as T value in argument to takesT |
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
| Extraction failed in query-tests/Diagnostics/badimport.go with error invalid import path (invalid character U+007B '{') | 2 |
|
||||
| Extraction failed in query-tests/Diagnostics/badimport.go with error invalid import path: "github.com/pkg{}" | 2 |
|
||||
| Extraction failed in query-tests/Diagnostics/type.go with error cannot use v (variable of type V) as T value in argument to takesT | 2 |
|
||||
| Extraction failed with error expected ';', found wnvwun | 2 |
|
||||
| Extraction failed with error expected 'IDENT', found newline | 2 |
|
||||
| Extraction failed with error expected 'package', found avvu | 2 |
|
||||
| Extraction failed with error malformed import path "github.com/github/codeql-go/ql/test/query-tests/Diagnostics/invalid{": invalid char '{' | 2 |
|
||||
| Extraction failed with error package ; expected main | 2 |
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
| -:0:0:0:0 | package ; expected main |
|
||||
| empty-file.go:1:1:1:1 | expected ';', found 'EOF' |
|
||||
| empty-file.go:1:1:1:1 | expected 'IDENT', found 'EOF' |
|
||||
| empty-file.go:1:1:1:1 | expected 'package', found 'EOF' |
|
||||
| empty-file.go:1:1:1:1 | expected 'package', found 'EOF' |
|
||||
|
||||
Reference in New Issue
Block a user