diff options
author | Shashank Kumar Shankar <shashank.kumar.shankar@intel.com> | 2018-05-14 15:20:01 -0700 |
---|---|---|
committer | Shashank Kumar Shankar <shashank.kumar.shankar@intel.com> | 2018-05-14 15:20:01 -0700 |
commit | 5e6124aa915bd66734214ded0a25740b544bfa52 (patch) | |
tree | 1dd7c596c9fd493618a05276838cd93b9ffc8018 | |
parent | 5ffc6a77d8b5dbfd443828ac9bda285e44a630df (diff) |
Fix minor Nil check in test
This patch fixes a minor error in the nil check.
Change-Id: I6b980847d0434b2b40a4a09c80fe9a971599553f
Issue-ID: MUSIC-55
Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
-rw-r--r-- | src/dkv/api/initialise_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dkv/api/initialise_test.go b/src/dkv/api/initialise_test.go index 9597d8f..363edce 100644 --- a/src/dkv/api/initialise_test.go +++ b/src/dkv/api/initialise_test.go @@ -50,7 +50,7 @@ func TestInitialise_consulError(t *testing.T) { }() err := Initialise() - assert.Nil(t, err) + assert.NotNil(t, err) } func TestInitialise_datastoreEmptyError(t *testing.T) { |