@@ -17,7 +17,7 @@ func newTestDatastore(t *testing.T) ds.Batching {
1717 return dssync .MutexWrap (ds .NewMapDatastore ())
1818}
1919
20- func TestPruneExecMeta_PrunesUpToTargetHeight (t * testing.T ) {
20+ func TestPruneExec_PrunesUpToTargetHeight (t * testing.T ) {
2121 t .Parallel ()
2222
2323 ctx := context .Background ()
@@ -39,7 +39,7 @@ func TestPruneExecMeta_PrunesUpToTargetHeight(t *testing.T) {
3939 }
4040
4141 // Prune up to height 3
42- require .NoError (t , store .PruneExecMeta (ctx , 3 ))
42+ require .NoError (t , store .PruneExec (ctx , 3 ))
4343
4444 // Heights 1..3 should be gone
4545 for h := uint64 (1 ); h <= 3 ; h ++ {
@@ -56,10 +56,10 @@ func TestPruneExecMeta_PrunesUpToTargetHeight(t *testing.T) {
5656 }
5757
5858 // Re-pruning with the same height should be a no-op
59- require .NoError (t , store .PruneExecMeta (ctx , 3 ))
59+ require .NoError (t , store .PruneExec (ctx , 3 ))
6060}
6161
62- func TestPruneExecMeta_TracksLastPrunedHeight (t * testing.T ) {
62+ func TestPruneExec_TracksLastPrunedHeight (t * testing.T ) {
6363 t .Parallel ()
6464
6565 ctx := context .Background ()
@@ -73,10 +73,10 @@ func TestPruneExecMeta_TracksLastPrunedHeight(t *testing.T) {
7373 }
7474
7575 // First prune up to 2
76- require .NoError (t , store .PruneExecMeta (ctx , 2 ))
76+ require .NoError (t , store .PruneExec (ctx , 2 ))
7777
7878 // Then prune up to 4; heights 3..4 should be deleted in this run
79- require .NoError (t , store .PruneExecMeta (ctx , 4 ))
79+ require .NoError (t , store .PruneExec (ctx , 4 ))
8080
8181 // Verify all heights 1..4 are gone, 5 remains
8282 for h := uint64 (1 ); h <= 4 ; h ++ {
0 commit comments