1
0
Fork 0

Fix tests to accept entrypoints

This commit is contained in:
emile 2016-02-01 11:07:05 +01:00
parent c22598c8ff
commit 81cb00573f
No known key found for this signature in database
GPG key ID: D808B4C167352E59
14 changed files with 107 additions and 79 deletions

View file

@ -176,7 +176,7 @@ func TestKvGet(t *testing.T) {
}
for _, c := range cases {
actual := c.provider.get(c.keys...)
actual := c.provider.get("", c.keys...)
if actual != c.expected {
t.Fatalf("expected %v, got %v for %v and %v", c.expected, actual, c.keys, c.provider)
}
@ -188,7 +188,7 @@ func TestKvGet(t *testing.T) {
Error: true,
},
}
actual := provider.get("anything")
actual := provider.get("", "anything")
if actual != "" {
t.Fatalf("Should have return nil, got %v", actual)
}