mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-10 03:09:35 -06:00
go/store/types/value_store_test.go: Fix test for new GC asserts.
This commit is contained in:
@@ -368,6 +368,10 @@ func TestGC(t *testing.T) {
|
||||
assert.True(ok)
|
||||
h2 := mustRef(vs.WriteValue(ctx, set2)).TargetHash()
|
||||
|
||||
ok, err = vs.Commit(ctx, h1, h1)
|
||||
require.NoError(t, err)
|
||||
assert.True(ok)
|
||||
|
||||
v1, err := vs.ReadValue(ctx, h1) // non-nil
|
||||
require.NoError(t, err)
|
||||
assert.NotNil(v1)
|
||||
|
||||
Reference in New Issue
Block a user