From 5e6124aa915bd66734214ded0a25740b544bfa52 Mon Sep 17 00:00:00 2001 From: Shashank Kumar Shankar Date: Mon, 14 May 2018 15:20:01 -0700 Subject: 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 --- src/dkv/api/initialise_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dkv') 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) { -- cgit 1.2.3-korg