You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a custom error table that I pass to error(foo). When I do this in a busted test, and then pass --output=json, it will just print nothing, due to an error that occurs in json.encode where it is unable to serialize function objects. I'm guessing that busted should run tostring(error_obj) somewhere to address this problem
The text was updated successfully, but these errors were encountered:
I have a custom error table that I pass to
error(foo)
. When I do this in a busted test, and then pass--output=json
, it will just print nothing, due to an error that occurs in json.encode where it is unable to serialize function objects. I'm guessing that busted should runtostring(error_obj)
somewhere to address this problemThe text was updated successfully, but these errors were encountered: