mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-05 10:31:30 -06:00
Restored previously deleted test case. It should be impossible to trigger on the SQL path, but better safe than sorry.
This commit is contained in:
@@ -92,6 +92,12 @@ func TestModifyColumn(t *testing.T) {
|
||||
),
|
||||
expectedRows: dtestutils.TypedRows,
|
||||
},
|
||||
{
|
||||
name: "tag collision",
|
||||
existingColumn: schema.NewColumn("id", dtestutils.IdTag, types.UUIDKind, true, schema.NotNullConstraint{}),
|
||||
newColumn: schema.NewColumn("newId", dtestutils.NameTag, types.UUIDKind, true, schema.NotNullConstraint{}),
|
||||
expectedErr: "two different columns with the same tag",
|
||||
},
|
||||
{
|
||||
name: "name collision",
|
||||
existingColumn: schema.NewColumn("id", dtestutils.IdTag, types.UUIDKind, true, schema.NotNullConstraint{}),
|
||||
|
||||
Reference in New Issue
Block a user