- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 785 for gomod (0.08 sec)
-
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) -
test/fixedbugs/bug321.go
return false } return true } func main() { good := true // http://www.exploringbinary.com/java-hangs-when-converting-2-2250738585072012e-308/ good = good && check("2.2250738585072012e-308", 2.2250738585072012e-308, 2.2250738585072014e-308) // http://www.exploringbinary.com/php-hangs-on-numeric-value-2-2250738585072011e-308/ good = good && check("2.2250738585072011e-308", 2.2250738585072011e-308, 2.225073858507201e-308)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 830 bytes - Viewed (0) -
platforms/jvm/war/src/integTest/groovy/org/gradle/api/tasks/bundling/WarTaskIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 13:20:44 UTC 2024 - 10.2K 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) -
plugin/pkg/admission/imagepolicy/admission_test.go
wantFailOpen: true, }, { test: "DefaultAllow = true, backend unreachable, good image", pod: goodPod("good"), defaultAllow: true, wantAllowed: true, wantFailOpen: true, }, { test: "DefaultAllow = false, backend unreachable, good image", pod: goodPod("good"), defaultAllow: false, wantAllowed: false, wantErr: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 06:05:06 UTC 2023 - 32.9K 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) -
test/fixedbugs/issue30566a.go
func returnSecond(x bool, s string) string { return s } func identWrapper(s string) string { return ident(s) } func main() { got := returnSecond((false || identWrapper("bad") != ""), ident("good")) if got != "good" { panic(fmt.Sprintf("wanted \"good\", got \"%s\"", got)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 20:04:07 UTC 2019 - 535 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)