lua-resty-busted icon indicating copy to clipboard operation
lua-resty-busted copied to clipboard

attempt to call method 'add_flag' (a nil value)

Open henriquechehad opened this issue 7 years ago • 3 comments

I'm trying to run the project but it's returning the error:

# DBG_NOREADLINE=true busted ./test/specs --coverage
...al/openresty/luajit/share/lua/5.1/busted/modules/cli.lua:111: attempt to call method 'add_flag' (a nil value)

henriquechehad avatar May 31 '17 14:05 henriquechehad

Same. @henriquechehad are you still running into this?

connormckelvey avatar Jan 03 '18 03:01 connormckelvey

#2 fixes the problem for me

khamin avatar Jan 22 '18 09:01 khamin

@thibaultcha please, publish a new version of the rock, as the published one has the add_flag problem, but not the master branch.

saucisson avatar Feb 18 '18 12:02 saucisson

for anyone running into similar issues; here's a self contained solution; https://github.com/lunarmodules/busted/issues/414#issuecomment-792614808

Tieske avatar Apr 25 '23 12:04 Tieske

This is probably much too late and there may exist better solutions today, but it is done, thanks all.

thibaultcha avatar Dec 22 '23 02:12 thibaultcha