Files
sponge/internal/ecode/grpc_systemCode_test.go
zhuyasen 891af10cb6 add test
2022-09-25 19:06:27 +08:00

12 lines
184 B
Go

package ecode
import (
"github.com/stretchr/testify/assert"
"testing"
)
func TestAny(t *testing.T) {
detail := Any("foo", "bar")
assert.Equal(t, "foo: {bar}", detail.String())
}