We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1a8289 commit db9a73cCopy full SHA for db9a73c
test/Tests/Lua.hs
@@ -221,11 +221,13 @@ tests = map (localOption (QuickCheckTests 20))
221
Lua.liftIO $ Lua.OK @=? s
222
223
, testCase "module 'lpeg' is available via `require`" . runLuaTest $ do
224
- s <- Lua.dostring "require 'lpeg'"
+ s <- Lua.dostring
225
+ "package.path = ''; package.cpath = ''; require 'lpeg'"
226
227
228
, testCase "module 're' is available via `require`" . runLuaTest $ do
- s <- Lua.dostring "require 're'"
229
230
+ "package.path = ''; package.cpath = ''; require 're'"
231
232
]
233
0 commit comments