summaryrefslogtreecommitdiff
path: root/config_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'config_test.go')
-rw-r--r--config_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/config_test.go b/config_test.go
index 64bad7cb..f4c6246d 100644
--- a/config_test.go
+++ b/config_test.go
@@ -14,7 +14,7 @@ func Test_NumWorkers(t *testing.T) {
err := cfg.Valid()
assert.NotNil(t, err)
- assert.Equal(t, "config.NumWorkers must be set", err.Error())
+ assert.Equal(t, "cfg.NumWorkers must be set", err.Error())
}
func Test_AllocateTimeout(t *testing.T) {
@@ -25,7 +25,7 @@ func Test_AllocateTimeout(t *testing.T) {
err := cfg.Valid()
assert.NotNil(t, err)
- assert.Equal(t, "config.AllocateTimeout must be set", err.Error())
+ assert.Equal(t, "cfg.AllocateTimeout must be set", err.Error())
}
func Test_DestroyTimeout(t *testing.T) {
@@ -36,5 +36,5 @@ func Test_DestroyTimeout(t *testing.T) {
err := cfg.Valid()
assert.NotNil(t, err)
- assert.Equal(t, "config.DestroyTimeout must be set", err.Error())
+ assert.Equal(t, "cfg.DestroyTimeout must be set", err.Error())
}