Commit fa8384df authored by Ian Lance Taylor's avatar Ian Lance Taylor

runtime: remove now-unused test string constants

Change-Id: I491197e1505d02cd107a8788e5377cf1d0a9828c
Reviewed-on: https://go-review.googlesource.com/18157Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 956535f5
......@@ -264,19 +264,6 @@ func TestBreakpoint(t *testing.T) {
}
}
const crashSource = `
package main
import (
"fmt"
"runtime"
)
{{if .Cgo}}
import "C"
{{end}}
`
func TestGoexitInPanic(t *testing.T) {
// see issue 8774: this code used to trigger an infinite recursion
output := runTestProg(t, "testprog", "GoexitInPanic")
......@@ -330,23 +317,3 @@ func TestNetpollDeadlock(t *testing.T) {
t.Fatalf("output does not start with %q:\n%s", want, output)
}
}
const netpollDeadlockSource = `
package main
import (
"fmt"
"net"
)
func init() {
fmt.Println("dialing")
c, err := net.Dial("tcp", "localhost:14356")
if err == nil {
c.Close()
} else {
fmt.Println("error: ", err)
}
}
func main() {
fmt.Println("done")
}
`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment