Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
zakir-code committed Oct 23, 2024
1 parent 08b23db commit 1d804cc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions store/cachekv/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ func TestIteratorDeadlock(t *testing.T) {
defer it2.Close()
}

// -------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------
// do some random ops

const (
Expand Down Expand Up @@ -527,7 +527,7 @@ func doRandomOp(t *testing.T, st types.CacheKVStore, truth corestore.KVStoreWith
}
}

// -------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------

// iterate over whole domain
func assertIterateDomain(t *testing.T, st types.KVStore, expectedN int) {
Expand Down Expand Up @@ -602,7 +602,7 @@ func checkIterators(t *testing.T, itr, itr2 types.Iterator) {
require.False(t, itr2.Valid())
}

// --------------------------------------------------------
//--------------------------------------------------------

func setRange(t *testing.T, st types.KVStore, mem corestore.KVStoreWithBatch, start, end int) {
t.Helper()
Expand All @@ -622,7 +622,7 @@ func deleteRange(t *testing.T, st types.KVStore, mem corestore.KVStoreWithBatch,
}
}

// --------------------------------------------------------
//--------------------------------------------------------

type keyRange struct {
start int
Expand Down Expand Up @@ -672,7 +672,7 @@ func (krc *keyRangeCounter) key() int {
return thisKeyRange.start + krc.idx
}

// --------------------------------------------------------
//--------------------------------------------------------

func bz(s string) []byte { return []byte(s) }

Expand Down

0 comments on commit 1d804cc

Please sign in to comment.