- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 267 for gomod (0.05 sec)
-
src/cmd/go/testdata/script/build_trimpath.txt
) func main() { exe := os.Args[1] data, err := ioutil.ReadFile(exe) if err != nil { log.Fatal(err) } if os.Getenv("GO111MODULE") == "on" { out, err := exec.Command("go", "env", "GOMOD").Output() if err != nil { log.Fatal(err) } modRoot := filepath.Dir(strings.TrimSpace(string(out))) check(data, "module root", modRoot) } else { check(data, "GOPATH", os.Getenv("GOPATH")) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 4.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_overlay.txt
{ "Replace": { "nomod/go.mod": "../../../overlay/carve-nomod-go-mod" } } -- carve/overlay_uncarve_module.json -- { "Replace": { "hasmod/go.mod": "" } } -- carve/hasmod/a.go -- package hasmod -- carve/hasmod/go.mod -- module carve/hasmod -- carve/nomod/b.go -- package nomod -- $WORK/overlay/carve-nomod-go-mod -- module carve/nomod -- carve2/go.mod -- module carve2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 28 17:19:14 UTC 2021 - 7.7K bytes - Viewed (0) -
src/os/exec/dot_test.go
good := dir + "/execabs-test" if found, err := LookPath(good); err != nil || !strings.HasPrefix(found, good) { t.Fatalf(`LookPath(%#q) = %#q, %v, want "%s...", nil`, good, found, err, good) } if runtime.GOOS == "windows" { good = dir + `\execabs-test` if found, err := LookPath(good); err != nil || !strings.HasPrefix(found, good) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 18:19:21 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/transport/RepositoryTransportFactoryTest.groovy
Mock(BadCredentials) | [new GoodCredentialsAuthentication('good')] | "'good'(Authentication)" Mock(GoodCredentials) | [new GoodCredentialsAuthentication('good'), new BadCredentialsAuthentication('bad')] | "'bad'(Authentication)" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 8.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_chatty.txt
# Run successful chatty fuzz targets. go test -v chatty_fuzz_test.go stdout ok stdout PASS stdout 'all good here' ! stdout FAIL # Fuzz successful chatty fuzz target that includes a separate unit test. go test -v chatty_with_test_fuzz_test.go -fuzz=Fuzz -fuzztime=1x stdout ok stdout PASS ! stdout FAIL stdout -count=1 'all good here' # Verify that the unit test is only run once. stdout -count=1 'logged foo'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 1.8K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg_test.go
pkg := new(Package) pkg.ImportPath = tt.in pkg.GoFiles = tt.files pkg.Internal.CmdlineFiles = len(tt.files) > 0 gotMod := pkg.DefaultExecName() if gotMod != tt.wantMod { t.Errorf("pkg.DefaultExecName with ImportPath = %q in module mode = %v; want %v", tt.in, gotMod, tt.wantMod) } } { cfg.ModulesEnabled = false pkg := new(Package) pkg.ImportPath = tt.in pkg.GoFiles = tt.files
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 09 14:05:53 UTC 2022 - 2.4K bytes - Viewed (0) -
pkg/controller/volume/expand/expand_controller_test.go
pv: getFakePersistentVolume("vol-3", csitranslationplugins.AWSEBSInTreePluginName, "1Gi", "good-pvc-vol-3"), pvc: getFakePersistentVolumeClaim("good-pvc", "vol-3", "1Gi", "2Gi", "good-pvc-vol-3"), pvcKey: "default/good-pvc", expansionCalled: false, expectedAnnotation: map[string]string{volumetypes.VolumeResizerKey: csitranslationplugins.AWSEBSDriverName}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 7.9K bytes - Viewed (0) -
test/typeparam/mdempsky/15.go
func TypeString[T any]() string { return reflect.TypeOf(new(T)).Elem().String() } func Test[T, Bad, Good any]() { switch interface{}(new(T)).(type) { case Bad: println("FAIL:", TypeString[T](), "matched", TypeString[Bad]()) case Good: // ok default: println("FAIL:", TypeString[T](), "did not match", TypeString[Good]()) } } func TestE[T any]() { Test[T, interface{ EBad() }, interface{ EGood() }]() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 1.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/TasksFromDependentProjectsTest.groovy
child2.dependencies.add("testRuntime", child1) //good child3.configurations.create "conf" child3.configurations.create "testRuntime" child3.dependencies.add("conf", child1) //different config dependency, no good child4.configurations.create "conf" //different config, no good expect: checker.isDependent(child1, "testRuntime", child2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_load_err.txt
# Verifies golang.org/issue/39986 go list -e -f '{{range .GoFiles}}{{.}},{{end}}' ./scan stdout '^good.go,scan.go,$' go list -e -f '{{range .GoFiles}}{{.}},{{end}}' ./multi stdout '^a.go,b.go,$' go list -e -f '{{range .GoFiles}}{{.}},{{end}}' ./constraint stdout '^good.go,$' go list -e -f '{{range .IgnoredGoFiles}}{{.}},{{end}}' ./constraint stdout '^constraint.go,$'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 21:46:33 UTC 2022 - 1.7K bytes - Viewed (0)