Skip to content

Commit

Permalink
fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Mar 6, 2024
1 parent c64a00b commit b6b1f0a
Showing 1 changed file with 5 additions and 23 deletions.
28 changes: 5 additions & 23 deletions migrations/migration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -643,19 +643,16 @@ func TestMigrationError(t *testing.T) {
err = migration.Commit()
require.NoError(t, err)

assert.Equal(t,
map[struct {
interpreter.StorageKey
interpreter.StorageMapKey
}][]error{
{
require.Equal(t,
[]error{
StorageMigrationError{
StorageKey: interpreter.StorageKey{
Address: account,
Key: pathDomain.Identifier(),
},
StorageMapKey: interpreter.StringStorageMapKey("int8_value"),
}: {
errors.New("error occurred while migrating int8"),
Migration: "testInt8Migration",
Err: errors.New("error occurred while migrating int8"),
},
},
reporter.errors,
Expand Down Expand Up @@ -701,21 +698,6 @@ func TestMigrationError(t *testing.T) {
},
reporter.migrated,
)

require.Equal(t,
[]error{
StorageMigrationError{
StorageKey: interpreter.StorageKey{
Address: account,
Key: pathDomain.Identifier(),
},
StorageMapKey: interpreter.StringStorageMapKey("int8_value"),
Migration: "testInt8Migration",
Err: errors.New("error occurred while migrating int8"),
},
},
reporter.errors,
)
}

func TestCapConMigration(t *testing.T) {
Expand Down

0 comments on commit b6b1f0a

Please sign in to comment.