-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't run tests #3
Comments
Hm... these look like two strange issues. I'm also pretty new to Lua, so I don't have a silver bullet. Can you tell me which versions of Lua an Busted you are running? |
I think it needs "utils.lua" from the empty epsilon scripts folder to be there. |
Yeah - thats the problematic file. I did nothing fancy in my setup. Just run from the scripts folder. In the lower part of the init.lua i did some tinkering with the path, because require works differently on CLI than it does in EE. If you want to debug it (and I would be happy if you did ;) ) , maybe start with printing the package.path variable in lua (and maybe post it here). But I'm still confused on the failing test. I know tables in Lua are badass, but this behavior is just rude... :) |
I mostly work with javascript these days. I laugh at the general direction of lua tables. Will have a deeper look at it. |
Hey. I could reproduce the issue with Lua 5.3 and basically just removed the test, because it tests a feature which is not needed. The issue is that for associative tables in lua ( As for the failing run of busted: It does work for me with Lua 5.3.4 and busted 2.0.rc12 on a Fedora. |
I'm new to lua. I'm trying to run the tests after installing luarocks and busted.
at the project's root I run
busted test
, and I get errors of the form:if I comment out
"utils.lua"
line ininit.lua
, I get most of the tests passing, but 1 failure:The text was updated successfully, but these errors were encountered: