(t *testing.T)
| 233 | } |
| 234 | |
| 235 | func TestInput_RemoveSpecialCharacter(t *testing.T) { |
| 236 | cleanString := New("special@#remove%%%%") |
| 237 | against := "specialremove" |
| 238 | if result := cleanString.RemoveSpecialCharacter(); result != against { |
| 239 | t.Errorf("Expected: %s but got: %s", against, result) |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | func TestInput_ReplaceFirst(t *testing.T) { |
| 244 | replaceFirst := New("Hello My name is Roshan and his name is Alis.") |
nothing calls this directly
no test coverage detected
searching dependent graphs…