Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
masseelch committed Jun 14, 2022
1 parent 4f7aa7a commit 908a2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dialect/sql/schema/migrate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func TestMigrate_Diff(t *testing.T) {

// If using global unique ID and versioned migrations,
// consent for the file based type store has to be given explicitly.
m, err = NewMigrate(db, WithDir(d), WithGlobalUniqueID(true))
_, err = NewMigrate(db, WithDir(d), WithGlobalUniqueID(true))
require.ErrorIs(t, err, errConsent)
require.Contains(t, err.Error(), "WithDeterministicGlobalUniqueID")
require.Contains(t, err.Error(), "WithGlobalUniqueID")
Expand Down

0 comments on commit 908a2e9

Please sign in to comment.