barrier grpc used
This commit is contained in:
parent
d3eb568929
commit
cd411c6cba
12
dtmgrpc/type_test.go
Normal file
12
dtmgrpc/type_test.go
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
package dtmgrpc
|
||||||
|
|
||||||
|
import (
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestType(t *testing.T) {
|
||||||
|
_, err := BarrierFromGrpc(&BusiRequest{Info: &BranchInfo{}})
|
||||||
|
assert.Error(t, err)
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user