Format user arguments before passing them to string.format()
commit341d1ef9653f3475128251f6c6686778c3751bb7
authorMichael Roth <mroth@nessie.de>
Tue, 24 Feb 2009 15:11:22 +0000 (24 16:11 +0100)
committerMichael Roth <mroth@nessie.de>
Tue, 24 Feb 2009 15:11:22 +0000 (24 16:11 +0100)
tree6151e7e43bfeb292f74e4a3d577c5fc1941b46bc
parent07f9bf2852df1fd3181b0c3d4ac9607e28c7a912
Format user arguments before passing them to string.format()

assert_(not_)equal and assert_(not_)match needs to convert the user
supplied arguments to strings when the error message is created.

Thanks to Gustavo Niemeyer <gustavo@niemeyer.net> for suggestions
and Chong Tsong <tsongchong@gmail.com> for pointing this out too.

Signed-off-by: Michael Roth <mroth@nessie.de>
lunit.lua