diff options
author | Wolfy-J <[email protected]> | 2018-06-10 18:31:06 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-10 18:31:06 +0300 |
commit | 784f6982fa81b1b3a8e267bafbdc2f483b299423 (patch) | |
tree | a663a4d999b09c548d232ed04704436905cf0b1d /config_test.go | |
parent | a52341d0344e2f0cda126d9596fb5e897405785f (diff) |
fixing some tests
Diffstat (limited to 'config_test.go')
-rw-r--r-- | config_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config_test.go b/config_test.go index f4c6246d..89cde8f1 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, "cfg.NumWorkers must be set", err.Error()) + assert.Equal(t, "pool.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, "cfg.AllocateTimeout must be set", err.Error()) + assert.Equal(t, "pool.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, "cfg.DestroyTimeout must be set", err.Error()) + assert.Equal(t, "pool.DestroyTimeout must be set", err.Error()) } |