✨ Add separator option
This commit is contained in:
parent
84994d3b73
commit
4b509d31bb
6 changed files with 37 additions and 8 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue