Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for wantLeft (0.1 sec)

  1. src/internal/coverage/cformat/fmt_test.go

    		t.Fatalf("EmitTextual returned %v", err)
    	}
    	wantText := strings.TrimSpace(`
    mode: atomic
    p.go:10.0,11.0 2 0
    p.go:15.0,11.0 1 1
    q.go:20.0,25.0 3 0
    q.go:30.0,31.0 2 1
    q.go:33.0,40.0 7 2
    lit.go:99.0,100.0 1 0`)
    	gotText := strings.TrimSpace(b1.String())
    	if wantText != gotText {
    		t.Errorf("emit text: got:\n%s\nwant:\n%s\n", gotText, wantText)
    	}
    
    	// Percent output with no aggregation.
    	noCoverPkg := ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:57 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/etcd_test.go

    	t.Helper()
    
    	wantSet := sets.NewString(want...)
    	gotSet := sets.NewString()
    
    	for _, h := range healthChecks {
    		gotSet.Insert(h.Name())
    	}
    
    	gotSet.Delete("log", "ping") // not relevant for our tests
    
    	if !wantSet.Equal(gotSet) {
    		t.Errorf("%s checks are not equal, missing=%q, extra=%q", checkerType, wantSet.Difference(gotSet).List(), gotSet.Difference(wantSet).List())
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. src/log/slog/internal/benchmarks/benchmarks.go

    var testAttrs = []slog.Attr{
    	slog.String("string", testString),
    	slog.Int("status", testInt),
    	slog.Duration("duration", testDuration),
    	slog.Time("time", testTime),
    	slog.Any("error", testError),
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 25 12:14:46 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/load.go

    			// (We will filter out the extra tests explicitly in computePatternAll.)
    			wantTest = true
    
    		case ld.allPatternIsRoot && ld.allClosesOverTests && new.has(pkgInAll):
    			// This variant of the "all" pattern includes imports of tests of every
    			// package that is itself in "all", and pkg is in "all", so its test is
    			// also in "all" (as above).
    			wantTest = true
    
    		case ld.LoadTests && new.has(pkgIsRoot):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
Back to top