mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-24 19:19:11 +08:00
go fmt
This commit is contained in:
parent
efd2f50ede
commit
9ff72f616a
@ -155,7 +155,6 @@ func (l *DiskLocation) DeleteCollectionFromDiskLocation(collection string) (e er
|
||||
e = fmt.Errorf(errBuilder.String())
|
||||
}
|
||||
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -9,11 +9,11 @@ import (
|
||||
func TestOverflow2(t *testing.T) {
|
||||
m := NewCompactMap()
|
||||
_, oldSize := m.Set(NeedleId(150088), ToOffset(8), 3000073)
|
||||
if oldSize!=0{
|
||||
if oldSize != 0 {
|
||||
t.Fatalf("expecting no previous data")
|
||||
}
|
||||
_, oldSize = m.Set(NeedleId(150088), ToOffset(8), 3000073)
|
||||
if oldSize!=3000073{
|
||||
if oldSize != 3000073 {
|
||||
t.Fatalf("expecting previous data size is %d, not %d", 3000073, oldSize)
|
||||
}
|
||||
m.Set(NeedleId(150073), ToOffset(8), 3000073)
|
||||
|
Loading…
Reference in New Issue
Block a user