fix elems validator

This commit is contained in:
Ilya Rezvov
2018-04-08 17:51:04 -07:00
parent 277cfad6ff
commit 6b376ee4cb
4 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -56,7 +56,8 @@ runScript onAssertFail script = do
("global_i32", globI32),
("global_f32", globF32),
("global_f64", globF64),
("memory", Interpreter.HostMemory $ Struct.Limit 1 (Just 2))
("memory", Interpreter.HostMemory $ Struct.Limit 1 (Just 2)),
("table", Interpreter.HostTable $ Struct.Limit 10 (Just 20))
]
go script $ emptyState { store = st, moduleRegistery = Map.singleton "spectest" inst }
where