summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-07-28 16:41:56 +0300
committerGitHub <[email protected]>2018-07-28 16:41:56 +0300
commitd8cc6141ac10e2311ef71bad4986425f806af99d (patch)
tree411ae96e9e644234b2a822ac4ecb43584f4befc7 /service
parent977c8509c6db4fd04e547ffa3e6e49c1927b31bd (diff)
Update service_test.go
Diffstat (limited to 'service')
-rw-r--r--service/env/service_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/env/service_test.go b/service/env/service_test.go
index f25e56c7..e2e2a17b 100644
--- a/service/env/service_test.go
+++ b/service/env/service_test.go
@@ -6,12 +6,12 @@ import (
)
func Test_NewService(t *testing.T) {
- s := NewService("version")
+ s := NewService(map[string]string{"version": "test"})
assert.Len(t, s.values, 1)
}
func Test_Extend(t *testing.T) {
- s := NewService("version")
+ s := NewService(map[string]string{"version": "test"})
s.Init(&Config{Values: map[string]string{"key": "value"}})
assert.Len(t, s.values, 2)