mirror of
https://github.com/golang/go
synced 2024-11-23 11:50:09 -07:00
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 <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com>
This commit is contained in:
parent
34291f5f3e
commit
583975b934
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user