mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-07 08:50:34 -06:00
Merge pull request #1410 from alrs/doltcore-alterschema-errs
libraries/doltcore/schema/alterschema: fix dropped errors
This commit is contained in:
@@ -92,6 +92,7 @@ func TestDropColumn(t *testing.T) {
|
||||
var foundRows []row.Row
|
||||
err = rowData.Iter(ctx, func(key, value types.Value) (stop bool, err error) {
|
||||
tpl, err := row.FromNoms(dtestutils.TypedSchema, key.(types.Tuple), value.(types.Tuple))
|
||||
assert.NoError(t, err)
|
||||
foundRows = append(foundRows, tpl)
|
||||
return false, nil
|
||||
})
|
||||
@@ -170,6 +171,7 @@ func TestDropColumnUsedByIndex(t *testing.T) {
|
||||
var foundRows []row.Row
|
||||
err = rowData.Iter(ctx, func(key, value types.Value) (stop bool, err error) {
|
||||
tpl, err := row.FromNoms(dtestutils.TypedSchema, key.(types.Tuple), value.(types.Tuple))
|
||||
assert.NoError(t, err)
|
||||
foundRows = append(foundRows, tpl)
|
||||
return false, nil
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user