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

When running tests with busted, I get a "cannot change a protected metatable" error #4

Open
drhayes opened this issue May 14, 2020 · 0 comments

Comments

@drhayes
Copy link

drhayes commented May 14, 2020

I suspect it is because something in busted is causing the library to be loaded twice. My code doesn't do dynamic requires or anything.

If I comment out the setting of the metatype on line 276 then I don't get this error but, obviously, then I can't use a bunch of functions of the library.

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

No branches or pull requests

1 participant