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

Function TestInput_Between

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

Source from the content-addressed store, hash-verified

15}
16
17func TestInput_Between(t *testing.T) {
18 val := sm.Between("This", "example").ToUpper()
19 if val != "IS" {
20 t.Errorf("Expected: %s but got: %s", "IS", val)
21 }
22}
23
24func TestInput_EmptyBetween(t *testing.T) {
25 sm := New("This is example.")

Callers

nothing calls this directly

Calls 2

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…