Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fmtDuration (0.22 sec)

  1. src/testing/example.go

    // made to fail and panic with errNilPanicOrGoexit
    func (eg *InternalExample) processRunResult(stdout string, timeSpent time.Duration, finished bool, recovered any) (passed bool) {
    	passed = true
    	dstr := fmtDuration(timeSpent)
    	var fail string
    	got := strings.TrimSpace(stdout)
    	want := strings.TrimSpace(eg.Output)
    	if eg.Unordered {
    		if sortLines(got) != sortLines(want) && recovered == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top