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

Function TestStringIncludeWithNonString

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

Source from the content-addressed store, hash-verified

120}
121
122func TestStringIncludeWithNonString(t *testing.T) {
123 _, ok := EvalPure(PApp(Include, NewString("foo"), Nil)).(*ErrorType)
124 assert.True(t, ok)
125}
126
127func TestStringInsert(t *testing.T) {
128 for _, c := range []struct {

Callers

nothing calls this directly

Calls 3

EvalPureFunction · 0.85
PAppFunction · 0.85
NewStringFunction · 0.85

Tested by

no test coverage detected