Checks whether the operation returns True.
Moduletasty-hslua-1.1.1Haskell2010
Test.Tasty.HsLua
Utilities for testing of HsLua operations.
- 7 values
- Packagetasty-hslua-1.1.1
- Exports7
- LanguageHaskell2010
- LicenceMIT
- SourceHsLua.hs
Takes a Lua expression as a ByteString, evaluates it and pushes the result to the stack.
-- will return "12"
run $ do
pushLuaExpr "7 + 5"
tointeger topChecks whether a Lua operation fails with the given string as error message.
Checks whether the return value of an operation holds for the given predicate.
Infix alias for testCase.
Infix alias for luaTestBool.