- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for dumpLines (0.21 sec)
-
src/cmd/covdata/tool_test.go
want0 := "mode: set" if lines[0] != want0 { dumplines(lines[0:10]) t.Errorf("textfmt: want %s got %s", want0, lines[0]) } want1 := mainPkgPath + "/prog1.go:13.14,15.2 1 1" if lines[1] != want1 { dumplines(lines[0:10]) t.Errorf("textfmt: want %s got %s", want1, lines[1]) } } func dumplines(lines []string) { for i := range lines { fmt.Fprintf(os.Stderr, "%s\n", lines[i])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 20:46:32 UTC 2024 - 24.5K bytes - Viewed (0) -
src/debug/dwarf/line_test.go
t.Log("File tables do not match. Got:") dumpFiles(t, lr.Files()) t.Log("Want:") dumpFiles(t, files[0]) t.Fail() } files = files[1:] } } // Compare line tables. if !compareLines(t, got, want) { t.Log("Line tables do not match. Got:") dumpLines(t, got) t.Log("Want:") dumpLines(t, want) t.FailNow() } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:36 UTC 2023 - 14.5K bytes - Viewed (0)