Skip to content

Commit

Permalink
More test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmu committed Sep 11, 2024
1 parent aa887c8 commit a9e1dd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/libraries/doltcore/merge/schema_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ func testMergeSchemasWithConflicts(t *testing.T, test mergeSchemaConflictTest) {

otherSch := getSchema(t, dEnv)

_, actConflicts, mergeInfo, _, err := merge.SchemaMerge(context.Background(), types.Format_Default, mainSch, otherSch, ancSch, "test")
_, actConflicts, mergeInfo, _, err := merge.SchemaMerge(context.Background(), types.Format_Default, mainSch, otherSch, ancSch, doltdb.TableName{Name: "test"})
assert.False(t, mergeInfo.InvalidateSecondaryIndexes)
if test.expectedErr != nil {
// We don't use errors.Is here because errors generated by `Kind.New` compare stack traces in their `Is` implementation.
Expand All @@ -640,7 +640,7 @@ func testMergeSchemasWithConflicts(t *testing.T, test mergeSchemaConflictTest) {
}

require.NoError(t, err)
assert.Equal(t, actConflicts.TableName, "test")
assert.Equal(t, actConflicts.TableName.Name, "test")

assert.Equal(t, test.expConflict.Count(), actConflicts.Count())

Expand Down

0 comments on commit a9e1dd6

Please sign in to comment.