mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-03 19:41:24 -05:00
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user