mirror of
https://github.com/spf13/cobra
synced 2025-05-07 13:57:21 +00:00
remove unused function 'checkStringOmits'
This commit is contained in:
parent
0be19cdea6
commit
26d6a0220b
1 changed files with 0 additions and 6 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue