Add separator option

This commit is contained in:
Dan Jones 2025-03-11 16:42:39 -05:00
commit 4b509d31bb
6 changed files with 37 additions and 8 deletions

View file

@ -18,5 +18,5 @@ func TestNewConf(t *testing.T) {
func TestNewConfWithOpts(t *testing.T) {
c := NewConfig(WithoutExtension(), WithPrefix("foobar"))
assert.Equal(t, "", c.extension)
assert.Equal(t, "foobar_", c.prefix)
assert.Equal(t, "foobar", c.prefix)
}