From 5576b12c8313eff2f5d29e6df1e13494f3f14cce Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Wed, 13 Jun 2018 18:17:54 +0100 Subject: [PATCH] Upgrade planned tests --- src/test/java/net/kemitix/gitdb/GitDBTest.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/test/java/net/kemitix/gitdb/GitDBTest.java b/src/test/java/net/kemitix/gitdb/GitDBTest.java index 6f942f0..6de829c 100644 --- a/src/test/java/net/kemitix/gitdb/GitDBTest.java +++ b/src/test/java/net/kemitix/gitdb/GitDBTest.java @@ -237,13 +237,16 @@ class GitDBTest implements WithAssertions { // When removing a key that does not exist then the GitDbBranch is returned // When removing a key that does exist then a GitDbBranch is returned + // When removing a key that does exist then original GitDbBranch can still find it + // When removing a key that does exist then the updated GitDbBranch can't find it + // When starting a named transaction then GitDbTransaction is returned // When starting an anonymous transaction then a GitDbTransaction is returned - // Given a GitDbTransaction handle - // When putting a new key/value pair then the GitDbBranch can't find it - // When putting an existing key/value pair then the GitDbBranch finds the original value - // When removing a key from then the GitDbBRanch still finds it + // Given a GitDbTransaction handle (i.e. a new branch) + // When putting a new key/value pair then the original GitDbBranch can't find it + // When putting an existing key/value pair then the original GitDbBranch finds the original value + // When removing a key then the original GitDbBRanch still finds it // Given a GitDbTransaction handle with a added, updated and removed keys // When closing the transaction an GitDbBranch is returned