Skip to content

Commit b3a1a3a

Browse files
committed
Make test compatible with Go 1.0.
1 parent a36075a commit b3a1a3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stackinternal_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ func (fh *fholder) labyrinth() CallStack {
4040
for {
4141
return fh.f()
4242
}
43+
panic("this line only needed for go 1.0")
4344
}
4445

4546
func TestTrace(t *testing.T) {

0 commit comments

Comments
 (0)