mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-10-23 09:01:02 +08:00
12 lines
184 B
Go
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())
|
|
}
|