(t *testing.T)
| 59 | } |
| 60 | |
| 61 | func TestFreelist_free_freelist(t *testing.T) { |
| 62 | f := newTestFreelist() |
| 63 | f.Free(100, common.NewPage(12, common.FreelistPageFlag, 0, 0)) |
| 64 | pp := f.pendingPageIds()[100] |
| 65 | require.Equal(t, []common.Pgid{12}, pp.ids) |
| 66 | require.Equal(t, []common.Txid{0}, pp.alloctx) |
| 67 | } |
| 68 | |
| 69 | func TestFreelist_free_freelist_alloctx(t *testing.T) { |
| 70 | f := newTestFreelist() |
nothing calls this directly
no test coverage detected