2020-10-20 11:05:02 +02:00
|
|
|
package pro
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestConfig_MapKey(t *testing.T) {
|
|
|
|
t.Run("success", func(t *testing.T) {
|
2020-11-16 19:39:40 +01:00
|
|
|
c := NewConfig("0.0.0", "testdata/new.yml")
|
2020-10-20 11:05:02 +02:00
|
|
|
assert.Equal(t, "", c.MapKey())
|
|
|
|
})
|
|
|
|
}
|