Skip to content
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

Fix reporter.lua:17: attempt to index local 'element' (a nil value) #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CharlesVinois
Copy link

The problem occurred when the test name contained spaces (e.g.: --filter=Action Group should....), the value was split by the spaces and so busted only took "--filter=Action" and not the rest, which was taken as the path for the ROOT test file.
This led to errors when trying to launch "should", for example.
Replace spaces by %s lua pattern and add $ pattern lua for end of string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants