- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestImportPackageOutsideModule (0.29 sec)
-
src/go/build/build_test.go
} } // Check that a package is loaded in module mode if GO111MODULE=on, even when // no go.mod file is present. It should fail to resolve packages outside std. // Verifies golang.org/issue/34669. func TestImportPackageOutsideModule(t *testing.T) { testenv.MustHaveGoBuild(t) // Disable module fetching for this test so that 'go list' fails quickly // without trying to find the latest version of a module. t.Setenv("GOPROXY", "off")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 16:24:01 UTC 2023 - 23.9K bytes - Viewed (0)