fixing enginetests

This commit is contained in:
James Cor
2022-10-26 10:11:16 -07:00
parent d3d97499f6
commit 9e8166f1f5

View File

@@ -500,7 +500,7 @@ func TestInferSchema(t *testing.T) {
err = allCols.Iter(func(tag uint64, col schema.Column) (stop bool, err error) {
idx := schema.IndexOfConstraint(col.Constraints, schema.NotNullConstraintType)
assert.True(t, idx == -1 == test.nullableCols.Contains(col.Name), "%s unexpected nullability", col.Name)
assert.True(t, idx == -1, "%s unexpected not null constraint", col.Name)
return false, nil
})
require.NoError(t, err)