silentbicycle / lunatest

xUnit-style + randomized unit testing framework for Lua (and C projects using Lua, etc.)
84 stars 23 forks source link

Allow assert_error to accept additional arguments #25

Closed xordspar0 closed 9 months ago

xordspar0 commented 5 years ago

This is the simplest way to fix #23, but not necessarily the most correct. Usually msg is the last argument to an assert_* function. Is there a way to do that here? I can't think of a way at the moment.