commit | f366fbd2c19a97b2c93902b7dfa9bb6ae8a60090 | [log] [tgz] |
---|---|---|
author | Gustavo Niemeyer <gustavo@niemeyer.net> | Sat Oct 23 07:22:34 2010 -0200 |
committer | Gustavo Niemeyer <gustavo@niemeyer.net> | Sat Oct 23 07:22:34 2010 -0200 |
tree | 6e6a288f9e3f4e46702eaefcbd38d12261eef2d9 | |
parent | b76a1b7ab87fb60a942eafb25ed3fa3f48c4ec0f [diff] |
Line number improvements + AssertMatch() changes: - Line numbers from the test case itself will now be reported, even if the error is being logged form within another function (in which case both lines/files are shown). - Line number for the test case itself is now also reported in the failure header. - Replaced AssertErr() with AssertMatch(). AssertEqual() handles the equality cases very well already, and AssertMatch() may now be used for any other tests.