14 lines
239 B
Go
14 lines
239 B
Go
package pro
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestConfig_MapKey(t *testing.T) {
|
|
t.Run("success", func(t *testing.T) {
|
|
c := NewConfig("0.0.0", "testdata/new.yml")
|
|
assert.Equal(t, "", c.MapKey())
|
|
})
|
|
}
|