diff --git a/ql/test/query-tests/Diagnostics/CONSISTENCY/UnexpectedFrontendErrors.expected b/ql/test/query-tests/Diagnostics/CONSISTENCY/UnexpectedFrontendErrors.expected index e297b1b06ec..71e5ed320fb 100644 --- a/ql/test/query-tests/Diagnostics/CONSISTENCY/UnexpectedFrontendErrors.expected +++ b/ql/test/query-tests/Diagnostics/CONSISTENCY/UnexpectedFrontendErrors.expected @@ -1,5 +1,3 @@ | ../Diagnostics:0:0:0:0 | malformed import path "github.com/github/codeql-go/ql/test/query-tests/Diagnostics/invalid{": invalid char '{' | | bad.go:3:1:3:1 | expected 'package', found avvu | -| badpkg.go:4:2:4:2 | cannot find package "." in:\n\t/home/sauyon/devel/semmlego/vendor/github.com/github/nonexistent | -| badpkg.go:4:2:4:2 | could not import github.com/github/nonexistent (invalid package name: "") | | type.go:11:9:11:9 | cannot use v (variable of type V) as T value in argument to takesT | diff --git a/ql/test/query-tests/Diagnostics/ExtractionErrors.expected b/ql/test/query-tests/Diagnostics/ExtractionErrors.expected index 69ec0a68d85..842899c1eef 100644 --- a/ql/test/query-tests/Diagnostics/ExtractionErrors.expected +++ b/ql/test/query-tests/Diagnostics/ExtractionErrors.expected @@ -1,4 +1,2 @@ -| Extraction failed in query-tests/Diagnostics/badpkg.go with error cannot find package "." in:\n\t/home/sauyon/devel/semmlego/vendor/github.com/github/nonexistent | 2 | -| Extraction failed in query-tests/Diagnostics/badpkg.go with error could not import github.com/github/nonexistent (invalid package name: "") | 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 'package', found avvu | 2 | diff --git a/ql/test/query-tests/Diagnostics/badpkg.go b/ql/test/query-tests/Diagnostics/badpkg.go deleted file mode 100644 index 77fdde5d2b3..00000000000 --- a/ql/test/query-tests/Diagnostics/badpkg.go +++ /dev/null @@ -1,14 +0,0 @@ -package main - -import ( - "github.com/github/nonexistent" -) - -func test0() { - var v nonexistent.T - nonexistent.F() - - w := nonexistent.K - - use(v, w) -}