mirror of
https://github.com/dolthub/dolt.git
synced 2026-03-14 19:20:44 -05:00
Fixed test with new error
This commit is contained in:
@@ -1111,8 +1111,8 @@ func TestAddDropPrimaryKeys(t *testing.T) {
|
||||
},
|
||||
Assertions: []queries.ScriptTestAssertion{
|
||||
{
|
||||
Query: "ALTER TABLE test ADD PRIMARY KEY (id, c1, c2)",
|
||||
ExpectedErrStr: "primary key cannot have NULL values",
|
||||
Query: "ALTER TABLE test ADD PRIMARY KEY (id, c1, c2)",
|
||||
ExpectedErr: sql.ErrInsertIntoNonNullableProvidedNull,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user