vm: support immutable compound types
This commit is contained in:
parent
107f5e0793
commit
7296f0c913
10 changed files with 102 additions and 15 deletions
|
@ -161,6 +161,7 @@ func TestNotify(t *testing.T) {
|
|||
require.NoError(t, Notify(ic))
|
||||
require.Equal(t, 1, len(ic.Notifications))
|
||||
|
||||
arr.MarkAsReadOnly() // tiny hack for test to be able to compare object references.
|
||||
ev := ic.Notifications[0]
|
||||
require.Equal(t, "good event", ev.Name)
|
||||
require.Equal(t, h, ev.ScriptHash)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue