brinevector icon indicating copy to clipboard operation
brinevector copied to clipboard

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

Open drhayes opened this issue 4 years ago • 0 comments

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.

drhayes avatar May 14 '20 17:05 drhayes