MCPcopy Create free account
hub / github.com/cloe-lang/cloe / TestStringToString

Function TestStringToString

src/lib/core/string_test.go:171–174  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

169}
170
171func TestStringToString(t *testing.T) {
172 s := NewString("foo")
173 assert.Equal(t, s, EvalPure(PApp(ToString, s)))
174}

Callers

nothing calls this directly

Calls 4

NewStringFunction · 0.85
EvalPureFunction · 0.85
PAppFunction · 0.85
EqualMethod · 0.45

Tested by

no test coverage detected