Skip to content

Commit

Permalink
Add entries to the dictionary test
Browse files Browse the repository at this point in the history
  • Loading branch information
SupunS committed Feb 28, 2024
1 parent f5609be commit 621b611
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions migrations/statictypes/account_type_migration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1007,6 +1007,13 @@ func TestMigratingValuesWithAccountStaticType(t *testing.T) {
interpreter.PrimitiveStaticTypePublicAccount, //nolint:staticcheck
),
),
interpreter.NewUnmeteredStringValue("key"),
interpreter.NewCapabilityValue(
nil,
interpreter.NewUnmeteredUInt64Value(1234),
interpreter.NewAddressValue(nil, common.Address{}),
interpreter.PrimitiveStaticTypePublicAccount, //nolint:staticcheck
),
),
expectedValue: interpreter.NewDictionaryValue(
inter,
Expand All @@ -1019,6 +1026,13 @@ func TestMigratingValuesWithAccountStaticType(t *testing.T) {
unauthorizedAccountReferenceType,
),
),
interpreter.NewUnmeteredStringValue("key"),
interpreter.NewCapabilityValue(
nil,
interpreter.NewUnmeteredUInt64Value(1234),
interpreter.NewAddressValue(nil, common.Address{}),
unauthorizedAccountReferenceType,
),
),
},
}
Expand Down

0 comments on commit 621b611

Please sign in to comment.