summaryrefslogtreecommitdiffstats
path: root/src/dkv
diff options
context:
space:
mode:
authorShashank Kumar Shankar <shashank.kumar.shankar@intel.com>2018-05-14 15:20:01 -0700
committerShashank Kumar Shankar <shashank.kumar.shankar@intel.com>2018-05-14 15:20:01 -0700
commit5e6124aa915bd66734214ded0a25740b544bfa52 (patch)
tree1dd7c596c9fd493618a05276838cd93b9ffc8018 /src/dkv
parent5ffc6a77d8b5dbfd443828ac9bda285e44a630df (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>
Diffstat (limited to 'src/dkv')
-rw-r--r--src/dkv/api/initialise_test.go2
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) {