remove unused function 'checkStringOmits'

This commit is contained in:
umarcor 2019-06-07 19:30:30 +02:00
parent 0be19cdea6
commit 26d6a0220b

View file

@ -38,12 +38,6 @@ func checkStringContains(t *testing.T, got, expected string) {
}
}
func checkStringOmits(t *testing.T, got, expected string) {
if strings.Contains(got, expected) {
t.Errorf("Expected to not contain: \n %v\nGot: %v", expected, got)
}
}
const onetwo = "one two"
func TestSingleCommand(t *testing.T) {