Formatting

Signed-off-by: Zach Musgrave <zach@liquidata.co>
This commit is contained in:
Zach Musgrave
2020-08-17 12:19:36 -07:00
parent 322c1abc73
commit 4fb787da45
+4 -3
View File
@@ -17,9 +17,10 @@ package types
import (
"context"
"fmt"
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"testing"
)
type testOrderedSequence struct {
@@ -32,7 +33,7 @@ func (t *testOrderedSequence) getKey(idx int) (orderedKey, error) {
return orderedKey{}, err
}
if cs != nil {
return cs.(*testOrderedSequence).getKey(cs.seqLen()-1)
return cs.(*testOrderedSequence).getKey(cs.seqLen() - 1)
}
return newOrderedKey(t.items[idx].(Value), Format_Default)
@@ -239,4 +240,4 @@ func assertCursorContents(t *testing.T, cursor *sequenceCursor, expectedVals []I
}
assert.Equal(t, expectedVals, vals)
}
}