t.Parallel affects the result of these tests. nolint:paralleltest
(t *testing.T)
| 12 | |
| 13 | //nolint:paralleltest |
| 14 | func TestFuncName(t *testing.T) { |
| 15 | fn := tracing.FuncName() |
| 16 | assert.Equal(t, "tracing_test.TestFuncName", fn) |
| 17 | } |
| 18 | |
| 19 | type foo struct{} |
| 20 |