Skip to content

Commit

Permalink
properly skip panic test cases in benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
wazazaby committed Oct 8, 2023
1 parent 50216c2 commit 2f2eb4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vimebu_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func BenchmarkBuilderAppendQuoteOnly(b *testing.B) {
func BenchmarkBuilderTestCases(b *testing.B) {
for _, tc := range testCases {
if tc.mustPanic {
b.Skip()
continue
}
b.Run(tc.name, func(b *testing.B) {
for n := 0; n < b.N; n++ {
Expand Down

0 comments on commit 2f2eb4d

Please sign in to comment.