*: update interops, add System.Runtime.LoadScript wrapper check

This commit is contained in:
Roman Khimov 2022-09-30 00:05:50 +03:00
parent de2de986a7
commit 07e32e221d
27 changed files with 40 additions and 39 deletions

View file

@ -84,6 +84,7 @@ func TestSyscallExecution(t *testing.T) {
"runtime.GetScriptContainer": {interopnames.SystemRuntimeGetScriptContainer, nil, false},
"runtime.GetTime": {interopnames.SystemRuntimeGetTime, nil, false},
"runtime.GetTrigger": {interopnames.SystemRuntimeGetTrigger, nil, false},
"runtime.LoadScript": {interopnames.SystemRuntimeLoadScript, []string{b, "0", b}, false},
"runtime.Log": {interopnames.SystemRuntimeLog, []string{`"msg"`}, true},
"runtime.Notify": {interopnames.SystemRuntimeNotify, []string{`"ev"`, "1"}, true},
"runtime.Platform": {interopnames.SystemRuntimePlatform, nil, false},