From efb96e86dced95e8714508bc50de945a3adca283 Mon Sep 17 00:00:00 2001 From: asoseil Date: Sun, 3 Dec 2017 19:51:15 +0100 Subject: [PATCH] refactoring --- realize/utils_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/realize/utils_test.go b/realize/utils_test.go index c845aa8..855a8c3 100644 --- a/realize/utils_test.go +++ b/realize/utils_test.go @@ -8,7 +8,7 @@ import ( "testing" ) -func TestArgsParam(t *testing.T) { +func TestParams(t *testing.T) { set := flag.NewFlagSet("test", 0) set.Bool("myflag", false, "doc") p := cli.NewContext(nil, set, nil) @@ -43,7 +43,7 @@ func TestDuplicates(t *testing.T) { } -func TestInArray(t *testing.T) { +func TestArray(t *testing.T) { arr := []string{"a", "b", "c"} if !array(arr[0], arr) { t.Fatal("Unexpected", arr[0], "should be in", arr)