mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-27 23:40:41 +01:00
go fmt
This commit is contained in:
1 parent
3afa451cdc
commit
f0b928ff5e
1 file changed
+4
-4
@@ -25,7 +25,7 @@ func TestSearchVolumesWithDeletedNeedles(t *testing.T) {
|
||||
|
||||
count := 20
|
||||
|
||||
for i:=1;i<count;i++{
|
||||
for i := 1; i < count; i++ {
|
||||
n := newRandomNeedle(uint64(i))
|
||||
_, _, _, err := v.writeNeedle2(n, true, false)
|
||||
if err != nil {
|
||||
@@ -33,7 +33,7 @@ func TestSearchVolumesWithDeletedNeedles(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
for i:=1;i<15;i++{
|
||||
for i := 1; i < 15; i++ {
|
||||
n := newEmptyNeedle(uint64(i))
|
||||
err := v.nm.Put(n.Id, types.Offset{}, types.TombstoneFileSize)
|
||||
if err != nil {
|
||||
@@ -43,7 +43,7 @@ func TestSearchVolumesWithDeletedNeedles(t *testing.T) {
|
||||
|
||||
ts1 := time.Now().UnixNano()
|
||||
|
||||
for i:=15;i<count;i++{
|
||||
for i := 15; i < count; i++ {
|
||||
n := newEmptyNeedle(uint64(i))
|
||||
_, err := v.doDeleteRequest(n)
|
||||
if err != nil {
|
||||
@@ -57,4 +57,4 @@ func TestSearchVolumesWithDeletedNeedles(t *testing.T) {
|
||||
}
|
||||
fmt.Printf("offset: %v, isLast: %v\n", offset.ToActualOffset(), isLast)
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user