Skip to content

Commit

Permalink
fixed test cases
Browse files Browse the repository at this point in the history
Signed-off-by: Harish P <[email protected]>
  • Loading branch information
harishp8889 committed Nov 10, 2022
1 parent 65f8f0d commit 896989f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions goopicsi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func TestNVMeControllerConnect(t *testing.T) {
log.Println(err)
}
log.Println(resp)
assert.NoError(t, err, "connection successful")
assert.Error(t, err, "connection failed")
}

func TestNVMeControllerDisconnect(t *testing.T) {
Expand All @@ -31,5 +31,5 @@ func TestNVMeControllerDisconnect(t *testing.T) {
log.Println(err)
}
log.Println(resp)
assert.NoError(t, err, "disconnected successfully")
assert.Error(t, err, "disconnect failed")
}

0 comments on commit 896989f

Please sign in to comment.