Skip to content

Commit

Permalink
fixup! Add pprofLabelForThreadNames config
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhaller committed Nov 23, 2023
1 parent 49a0898 commit fb5bcaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/dap/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1454,7 +1454,7 @@ func TestGoroutineLabels(t *testing.T) {
if len(tr.Body.Threads) != 1 {
t.Errorf("got %d threads, expected 1\n", len(tr.Body.Threads))
}
// The first breakpoint is before the call to pprof.Do; no lables yet:
// The first breakpoint is before the call to pprof.Do; no labels yet:
expectedPrefix := "* [Go 1]"
if !strings.HasPrefix(tr.Body.Threads[0].Name, expectedPrefix) {
t.Errorf("got %s, expected %s\n", tr.Body.Threads[0].Name, expectedPrefix)
Expand Down

0 comments on commit fb5bcaf

Please sign in to comment.