- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testCallerLine (0.1 sec)
-
src/runtime/callers_test.go
testNormalEndlineno(t) testGenericEndlineno[int](t) } func testNormalEndlineno(t *testing.T) { defer testCallerLine(t, callerLine(t, 0)+1) } func testGenericEndlineno[_ any](t *testing.T) { defer testCallerLine(t, callerLine(t, 0)+1) } func testCallerLine(t *testing.T, want int) { if have := callerLine(t, 1); have != want { t.Errorf("callerLine(1) returned %d, but want %d\n", have, want)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 21:36:31 UTC 2023 - 12.1K bytes - Viewed (0)