Browse Source

mvcc: fix typo in test

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Gyuho Lee 6 years ago
parent
commit
88f4b83ba9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mvcc/kvstore_test.go

+ 1 - 1
mvcc/kvstore_test.go

@@ -390,7 +390,7 @@ func TestStoreRestore(t *testing.T) {
 	s.restore()
 
 	if s.compactMainRev != 3 {
-		t.Errorf("compact rev = %d, want 5", s.compactMainRev)
+		t.Errorf("compact rev = %d, want 3", s.compactMainRev)
 	}
 	if s.currentRev != 5 {
 		t.Errorf("current rev = %v, want 5", s.currentRev)