diff --git a/test/linkx_run.go b/test/linkx_run.go index 5b67ce7d3de..11b66ed5a91 100644 --- a/test/linkx_run.go +++ b/test/linkx_run.go @@ -16,7 +16,7 @@ import ( ) func main() { - cmd := exec.Command("go", "run", "-ldflags=-X main.tbd hello -X main.overwrite trumped", "linkx.go") + cmd := exec.Command("go", "run", "-ldflags=-X main.tbd hello -X main.overwrite trumped -X main.nosuchsymbol neverseen", "linkx.go") out, err := cmd.CombinedOutput() if err != nil { fmt.Println(string(out))