Skip to content

Commit 583975b

Browse files
author
Bryan C. Mills
committed
cmd/link: fix TestUnresolved in module mode
Updates #30228 Change-Id: I9f0e7e59922bd56b17889f72124b7d14b2433218 Reviewed-on: https://go-review.googlesource.com/c/162833 Run-TryBot: Bryan C. Mills <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Jay Conrod <[email protected]>
1 parent 34291f5 commit 583975b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cmd/link/link_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ func TestUnresolved(t *testing.T) {
139139
// linker would find an undefined reference to "zero" created
140140
// by the runtime package.
141141

142+
write("go.mod", "module testunresolved\n")
142143
write("main.go", `package main
143144
144145
func main() {

0 commit comments

Comments
 (0)