(t *testing.T)
| 15 | } |
| 16 | |
| 17 | func 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 | |
| 24 | func TestInput_EmptyBetween(t *testing.T) { |
| 25 | sm := New("This is example.") |