it says "attempt to index a nil value (field 'arguments')"
when I comment all
- for idx = 1, arg.arguments.n do
- table.insert(args, assert:format({ arg.arguments[idx], n = 1, })[1])
- end
+ -- for idx = 1, arg.arguments.n do
+ -- table.insert(args, assert:format({ arg.arguments[idx], n = 1, })[1])
+ -- end
https://github.com/Olivine-Labs/luassert/blob/36fc3af9621696a9dfcf71c0bcd25cdbc9475cf8/src/formatters/init.lua#L215
Greeting all, This is seems not right, it throws error when I use a spy like this
it says "attempt to index a nil value (field 'arguments')"
when I comment all
and I go to luassert\match.lua and I add
it works fine and refer to _ as any
just wanted to point to this issue and thanks for adding the new clear and detailed error output for each argument when using
called_with
function.