(t *testing.T)
| 778 | } |
| 779 | |
| 780 | func TestStringSliceFlagHelpOutput(t *testing.T) { |
| 781 | for _, test := range stringSliceFlagTests { |
| 782 | f := &StringSliceFlag{Name: test.name, Aliases: test.aliases, Value: test.value} |
| 783 | assert.Equal(t, test.expected, f.String()) |
| 784 | } |
| 785 | } |
| 786 | |
| 787 | func TestStringSliceFlagWithEnvVarHelpOutput(t *testing.T) { |
| 788 | t.Setenv("APP_QWWX", "11,4") |