From 26d6a0220b12d5cdb01e0f332f35fb26bf179ac4 Mon Sep 17 00:00:00 2001 From: umarcor Date: Fri, 7 Jun 2019 19:30:30 +0200 Subject: [PATCH] remove unused function 'checkStringOmits' --- command_test.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/command_test.go b/command_test.go index 85b0a9c7..b0b6aea6 100644 --- a/command_test.go +++ b/command_test.go @@ -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) {