Skip to content

Commit

Permalink
cmd/link: fix TestUnresolved in module mode
Browse files Browse the repository at this point in the history
Updates #30228

Change-Id: I9f0e7e59922bd56b17889f72124b7d14b2433218
Reviewed-on: https://go-review.googlesource.com/c/162833
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
  • Loading branch information
Bryan C. Mills committed Feb 19, 2019
1 parent 34291f5 commit 583975b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cmd/link/link_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ func TestUnresolved(t *testing.T) {
// linker would find an undefined reference to "zero" created
// by the runtime package.

write("go.mod", "module testunresolved\n")
write("main.go", `package main
func main() {
Expand Down

0 comments on commit 583975b

Please sign in to comment.