summaryrefslogtreecommitdiff
path: root/cli_args_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-08-10 19:09:58 +0200
committerJakob Unterwurzacher2021-08-10 19:09:58 +0200
commit463f6e8962d87bf45dccd806822d40cfff335695 (patch)
tree1738112098347b08bfdeed58fbcc0b21ab512636 /cli_args_test.go
parent88f5e8d76e4d13b627ec1dbf8a428d01ae1a8771 (diff)
main: take advantage of pflag slice types
Our multipleStrings type is now built in.
Diffstat (limited to 'cli_args_test.go')
-rw-r--r--cli_args_test.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/cli_args_test.go b/cli_args_test.go
index eee3659..6dff1f1 100644
--- a/cli_args_test.go
+++ b/cli_args_test.go
@@ -75,14 +75,3 @@ func TestPrefixOArgs(t *testing.T) {
}
}
}
-
-func TestStringSlice(t *testing.T) {
- var s multipleStrings
- s.Set("foo")
- s.Set("bar")
- want := "[foo bar]"
- have := s.String()
- if want != have {
- t.Errorf("Wrong string representation: want=%q have=%q", want, have)
- }
-}