diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2020-01-15 11:57:29 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2020-01-15 11:57:29 +0300 |
commit | 98d6b2dd1484ea8741539967efe4926123b17dcd (patch) | |
tree | ebf114c781eb558fcc763c07d51e610e48a30436 /multi_string_flag_test.go | |
parent | b2d8c9dfeb5aca5c8983fc2490ea05e956f7962e (diff) |
update multiple value test case
Diffstat (limited to 'multi_string_flag_test.go')
-rw-r--r-- | multi_string_flag_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/multi_string_flag_test.go b/multi_string_flag_test.go index 9fad2814..4d1c1f8c 100644 --- a/multi_string_flag_test.go +++ b/multi_string_flag_test.go @@ -38,8 +38,8 @@ func TestMultiStringFlag_Split(t *testing.T) { }, { name: "multiple_values", - s: &MultiStringFlag{"value1", "value2", "value3"}, // -flag "value1,value2,value3" - wantResult: []string{"value1", "value2", "value3"}, + s: &MultiStringFlag{"value1", "", "value3"}, // -flag "value1,,value3" + wantResult: []string{"value1", "value3"}, }, } for _, tt := range tests { |