Debian Codegraph @

lmdb/msgfunc_test.go

raw symbols SCIP
1 package lmdb
2
3 import "testing"
4
5 func TestMsgctx_conflict(t *testing.T) {
6 ctx := nextctx()
7 ctx.register(func(string) error { return nil })
8 defer func() {
9 ctx.deregister()
10 if e := recover(); e == nil {
11 t.Errorf("expeceted panic")
12 }
13 }()
14 ctx.register(func(string) error { return nil })
15 }