Skip to content

Commit 958efb0

Browse files
committed
new bench rule
1 parent ba69b38 commit 958efb0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ bench:
4444
bench_goid:
4545
$(GO) test -bench='BenchmarkGoid' $(PKG_ASSERT)
4646

47+
bench_reca:
48+
$(GO) test -bench='BenchmarkRecursion.*' $(PKG_ERR2)
49+
4750
bench_out:
4851
$(GO) test -bench='BenchmarkTryOut_.*' $(PKG_ERR2)
4952

internal/handler/handler_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ func TestProcess(t *testing.T) {
2626
args args
2727
want want
2828
}{
29+
// TODO: this test e.g. has problem because Process is not called
30+
// anymore if Any and Err are nil. Check is done before Process call.
31+
// - check with handler.WorkToDo() should we even test this.
2932
{"all nil and our handlers",
3033
args{Info: handler.Info{
3134
Any: nil,

0 commit comments

Comments
 (0)