Skip to content

Commit

Permalink
[FAB-12018] fix wrong description
Browse files Browse the repository at this point in the history
Change-Id: I821e6f09c2ee251de5e92fa90d95bc8706e0ced8
Signed-off-by: ping40 <norberthu30@gmail.com>
  • Loading branch information
ping40 committed Sep 17, 2018
1 parent a9ad62a commit ee81a3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/ledger/kvledger/txmgmt/statedb/statedb_test.go
Expand Up @@ -87,7 +87,8 @@ func TestPutGetDeleteExistsGetUpdates(t *testing.T) {

//Delete the above inserted <k,v> pair
batch.Delete("ns1", "key2", version.NewHeight(1, 2))
//Exists() should return false as key2 is deleted
//Exists() should return true after deleting key2
//Exists() should return true iff the key has action(Put/Delete) in this batch
actualResult = batch.Exists("ns1", "key2")
expectedResult = true
testutil.AssertEquals(t, actualResult, expectedResult)
Expand Down

0 comments on commit ee81a3d

Please sign in to comment.