vm: support immutable compound types
This commit is contained in:
parent
107f5e0793
commit
7296f0c913
10 changed files with 102 additions and 15 deletions
|
@ -54,6 +54,7 @@ func TestRuntimeGetNotifications(t *testing.T) {
|
|||
name, err := stackitem.ToString(elem[1])
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, ic.Notifications[i].Name, name)
|
||||
ic.Notifications[i].Item.MarkAsReadOnly() // tiny hack for test to be able to compare object references.
|
||||
require.Equal(t, ic.Notifications[i].Item, elem[2])
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue