Explorar el Código

mvcc: fix typo in test

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Gyuho Lee hace 6 años
padre
commit
88f4b83ba9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)