- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for testmovk (0.35 sec)
-
src/net/http/client_test.go
`DELETE / "c308"`, `DELETE /?code=404 "c404"`, } want := strings.Join(wantSegments, "\n") run(t, func(t *testing.T, mode testMode) { testRedirectsByMethod(t, mode, "DELETE", deleteRedirectTests, want) }) } func testRedirectsByMethod(t *testing.T, mode testMode, method string, table []redirectTest, want string) { var log struct { sync.Mutex bytes.Buffer } var ts *httptest.Server
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 63.8K bytes - Viewed (0) -
src/net/http/fs_test.go
// in "Range": "bytes=-N", and should reject "bytes=--2". func TestServeFileRejectsInvalidSuffixLengths(t *testing.T) { run(t, testServeFileRejectsInvalidSuffixLengths, []testMode{http1Mode, https1Mode, http2Mode}) } func testServeFileRejectsInvalidSuffixLengths(t *testing.T, mode testMode) { cst := newClientServerTest(t, mode, FileServer(Dir("testdata"))).ts tests := []struct { r string wantCode int wantBody string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 23:39:44 UTC 2024 - 49.9K bytes - Viewed (0) -
src/cmd/go/go_test.go
} } // If -testwork is specified, the test prints the name of the temp directory // and does not remove it when done, so that a programmer can // poke at the test file tree afterward. var testWork = flag.Bool("testwork", false, "") // cleanup cleans up a test that runs testgo. func (tg *testgoData) cleanup() { tg.t.Helper() if *testWork { if tg.tempdir != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
src/testing/testing.go
// So make 'no tests to run' a hard failure when testing package testing itself. fmt.Print(chatty.prefix(), "FAIL: package testing must run tests\n") testOk = false } } anyFailed := !testOk || !exampleOk || !fuzzTargetsOk || !runBenchmarks(m.deps.ImportPath(), m.deps.MatchString, m.benchmarks) if !anyFailed && race.Errors() > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/encoding/xml/marshal_test.go
for i := 0; i < 2; i++ { wg.Add(1) go func() { Marshal(B{[]A{{}}}) wg.Done() }() } wg.Wait() } func TestIsValidDirective(t *testing.T) { testOK := []string{ "<>", "< < > >", "<!DOCTYPE '<' '>' '>' <!--nothing-->>", "<!DOCTYPE doc [ <!ELEMENT doc ANY> <!ELEMENT doc ANY> ]>", "<!DOCTYPE doc [ <!ELEMENT doc \"ANY> '<' <!E\" LEMENT '>' doc ANY> ]>",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 18:46:41 UTC 2024 - 66K bytes - Viewed (0) -
src/math/all_test.go
} } for i := -1074; i <= 1023; i++ { f := Ldexp(1, i) l := Log2(f) if l != float64(i) { t.Errorf("Log2(2**%d) = %g, want %d", i, l, i) } } } func TestModf(t *testing.T) { for i := 0; i < len(vf); i++ { if f, g := Modf(vf[i]); !veryclose(modf[i][0], f) || !veryclose(modf[i][1], g) { t.Errorf("Modf(%g) = %g, %g, want %g, %g", vf[i], f, g, modf[i][0], modf[i][1]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 07 17:39:26 UTC 2023 - 86.8K bytes - Viewed (0)