Skip to content

Commit

Permalink
fix rebase error
Browse files Browse the repository at this point in the history
  • Loading branch information
jayconrod committed Feb 7, 2025
1 parent 692e842 commit 0d69cd9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions go/tools/gopackagesdriver/gopackagesdriver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ import "testing"
func TestHelloExternal(t *testing.T) {}
-- incompatible.go --
//go:build ignore
package hello
-- subhello/BUILD.bazel --
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
Expand All @@ -83,10 +87,6 @@ import "os"
func main() {
fmt.Fprintln(os.Stderr, "Subdirectory Hello World!")
}
-- incompatible.go --
//go:build ignore
package hello
`,
})
}
Expand Down Expand Up @@ -338,7 +338,7 @@ func TestOverlay(t *testing.T) {
// TestIncompatible checks that a target that can be queried but not analyzed
// does not appear in .Roots.
func TestIncompatible(t *testing.T) {
resp := runForTest(t, DriverRequest{}, "./...")
resp := runForTest(t, DriverRequest{}, ".", "./...")

rootLabels := make(map[string]bool)
for _, root := range resp.Roots {
Expand Down

0 comments on commit 0d69cd9

Please sign in to comment.