good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 36e93d2d authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub
Browse files

Merge pull request #20779 from meowsbits/patch-3

core/rawdb: fix freezer table test error check
parents 4655b609 20a092fb
No related branches found
No related tags found
No related merge requests found
...@@ -196,11 +196,9 @@ func TestFreezerRepairDanglingHeadLarge(t *testing.T) { ...@@ -196,11 +196,9 @@ func TestFreezerRepairDanglingHeadLarge(t *testing.T) {
f.Append(uint64(x), data) f.Append(uint64(x), data)
} }
// The last item should be there // The last item should be there
if _, err = f.Retrieve(f.items - 1); err == nil { if _, err = f.Retrieve(f.items - 1); err != nil {
if err != nil {
t.Fatal(err) t.Fatal(err)
} }
}
f.Close() f.Close()
} }
// open the index // open the index
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment