mirror of
https://github.com/golang/go
synced 2024-09-05 07:54:46 +00:00
test: remove unused code in run.go
This commit is contained in:
parent
dc00aed6de
commit
ff1cf0b9d8
|
@ -1867,14 +1867,6 @@ func checkShouldTest() {
|
|||
assert(shouldTest("// +build !windows !plan9", "windows", "amd64"))
|
||||
}
|
||||
|
||||
func getenv(key, def string) string {
|
||||
value := os.Getenv(key)
|
||||
if value != "" {
|
||||
return value
|
||||
}
|
||||
return def
|
||||
}
|
||||
|
||||
// overlayDir makes a minimal-overhead copy of srcRoot in which new files may be added.
|
||||
func overlayDir(dstRoot, srcRoot string) error {
|
||||
dstRoot = filepath.Clean(dstRoot)
|
||||
|
|
Loading…
Reference in a new issue