Fix minor Nil check in test 93/47493/1
authorShashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Mon, 14 May 2018 22:20:01 +0000 (15:20 -0700)
committerShashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Mon, 14 May 2018 22:20:01 +0000 (15:20 -0700)
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>
src/dkv/api/initialise_test.go

index 9597d8f..363edce 100644 (file)
@@ -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) {