fix test
Vladimir Bauer
5 years ago
1 changed file(s) with
2 addition(s)
and
2 deletion(s)
.
Raw diff
Collapse all
Expand all
+2
-2
bar_test.go
less
more
236
236
237
237
p.Wait()
238
238
239
if pCount != 1 {
240
t.Errorf("Decor called after panic %d times\n", pCount-1)
239
if pCount > 2 {
240
t.Error("Decor called after panic more than 2 times\n")
241
241
}
242
242
243
243
barStr := buf.String()