- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testAge (0.07 sec)
-
src/cmd/go/go_test.go
// Duplicate the test executable into the path at testGo, for $PATH. // If the OS supports symlinks, use them instead of copying bytes. testExe, err := os.Executable() if err != nil { log.Fatal(err) } if err := os.Symlink(testExe, testGo); err != nil { // Otherwise, copy the bytes. src, err := os.Open(testExe) if err != nil { log.Fatal(err) } defer src.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
for i, test := range tests { test.a.Sub(test.b) if test.a.Cmp(test.expected) != 0 { t.Errorf("[%d] Expected %q, got %q", i, test.expected.String(), test.a.String()) } } } func TestNeg(t *testing.T) { tests := []struct { a Quantity b Quantity expected Quantity }{ {a: intQuantity(0, 0, DecimalSI), expected: intQuantity(0, 0, DecimalSI)},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0)