Files
go-zero/zrpc/internal/chainserverinterceptors_test.go

17 lines
318 B
Go
Raw Normal View History

2020-08-25 20:21:59 +08:00
package internal
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestWithStreamServerInterceptors(t *testing.T) {
opts := WithStreamServerInterceptors()
assert.NotNil(t, opts)
}
func TestWithUnaryServerInterceptors(t *testing.T) {
opts := WithUnaryServerInterceptors()
assert.NotNil(t, opts)
}