(t *testing.T)
| 289 | } |
| 290 | |
| 291 | func TestInput_Surround(t *testing.T) { |
| 292 | str := New("this") |
| 293 | against := "__this__" |
| 294 | if val := str.Surround("__"); val != against { |
| 295 | t.Errorf("Expected: to be %s but got: %s", against, val) |
| 296 | } |
| 297 | } |
| 298 | |
| 299 | func TestInput_Tease(t *testing.T) { |
| 300 | str := New("This is just simple paragraph on lorem ipsum.") |