newEdit is a testing helper for quickly generating Edits
(loc int, old, new string)
| 7 | |
| 8 | // newEdit is a testing helper for quickly generating Edits |
| 9 | func newEdit(loc int, old, new string) Edit { |
| 10 | return Edit{Location: loc, Old: old, New: new} |
| 11 | } |
| 12 | |
| 13 | // TestMutateSingle tests almost every possibility of a single edit |
| 14 | func TestMutateSingle(t *testing.T) { |
no outgoing calls
no test coverage detected