MCPcopy Index your code
hub / github.com/voidint/g / Test_wrapstring

Function Test_wrapstring

cli/cli_test.go:114–118  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

112}
113
114func Test_wrapstring(t *testing.T) {
115 t.Run("包装字符串", func(t *testing.T) {
116 assert.Equal(t, "[g] Hello world", wrapstring("hello world"))
117 })
118}
119
120func Test_errstring(t *testing.T) {
121 t.Run("返回错误字符串", func(t *testing.T) {

Callers

nothing calls this directly

Calls 1

wrapstringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…