summaryrefslogtreecommitdiff
path: root/config_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-05-29 13:03:34 +0300
committerWolfy-J <[email protected]>2018-05-29 13:03:34 +0300
commitb8bc792b263a3891e125757a35cc563bb85f1a0b (patch)
treef7a9e6f2568220491a26f6544e4acf0ed62012bb /config_test.go
parent50f820833eeef8518b3b978b33c6f20391225162 (diff)
nested observers
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())
}