]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/cmd/cgo/internal/testplugin/plugin_test.go
misc/cgo: move easy tests to cmd/cgo/internal
[gostls13.git] / src / cmd / cgo / internal / testplugin / plugin_test.go
similarity index 99%
rename from misc/cgo/testplugin/plugin_test.go
rename to src/cmd/cgo/internal/testplugin/plugin_test.go
index 8960694351738580dfd8e07538f8f7124d733b91..84ea839a2f423f70124ba1f7ee026164b9da576c 100644 (file)
@@ -48,7 +48,7 @@ func testMain(m *testing.M) int {
        if err != nil {
                log.Fatal(err)
        }
-       goroot = filepath.Join(cwd, "../../..")
+       goroot = filepath.Join(cwd, "../../../../..")
 
        // Copy testdata into GOPATH/src/testplugin, along with a go.mod file
        // declaring the same path.