MCPcopy Create free account
hub / github.com/gobeam/stringy / TestInput_EmptyNoMatchBetween

Function TestInput_EmptyNoMatchBetween

stringy_test.go:32–38  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

30}
31
32func TestInput_EmptyNoMatchBetween(t *testing.T) {
33 sm := New("This is example.")
34 val := sm.Between("hello", "test").ToUpper()
35 if val != "THIS IS EXAMPLE." {
36 t.Errorf("Expected: %s but got: %s", "THIS IS EXAMPLE.", val)
37 }
38}
39
40func TestInput_BooleanTrue(t *testing.T) {
41 strs := []string{"on", "On", "yes", "YES", "1", "true"}

Callers

nothing calls this directly

Calls 3

NewFunction · 0.85
ToUpperMethod · 0.65
BetweenMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…