Skip to content

Commit

Permalink
runtime/trace: better output when test fails
Browse files Browse the repository at this point in the history
Change-Id: I108d15eb4cd25904bb76de4ed7548c039c69d1a3
Reviewed-on: https://go-review.googlesource.com/40590
Run-TryBot: David Lazar <lazard@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
  • Loading branch information
davidlazar committed Apr 14, 2017
1 parent 7337181 commit a727674
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/runtime/trace/trace_stack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,10 @@ func TestTraceSymbolize(t *testing.T) {
continue
}
for _, f := range ev.Stk {
t.Logf(" %v:%v", f.Fn, f.Line)
t.Logf(" %v :: %s:%v", f.Fn, f.File, f.Line)
}
t.Logf("---")
}
t.Logf("======")
}
}

0 comments on commit a727674

Please sign in to comment.