summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-04-06 13:11:32 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-04-06 13:11:32 +0000
commit492da50458a12e641fc98ab6a116bde800f4e99e (patch)
tree9e6109f71128042e702e55278bb5945979a4cc07 /tests
parentd26bdfaef7943fd2efc07290940525d521b8cf18 (diff)
downloadlasso-492da50458a12e641fc98ab6a116bde800f4e99e.tar.gz
lasso-492da50458a12e641fc98ab6a116bde800f4e99e.tar.xz
lasso-492da50458a12e641fc98ab6a116bde800f4e99e.zip
Tests: show actual value in check_equals test macro
Diffstat (limited to 'tests')
-rw-r--r--tests/tests.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.h b/tests/tests.h
index aaa3b101..ce89ac98 100644
--- a/tests/tests.h
+++ b/tests/tests.h
@@ -50,7 +50,7 @@
{ typeof(what) __tmp1, __tmp2; \
__tmp1 = (what); \
__tmp2 = (to); \
- fail_unless(__tmp1 == __tmp2, "%s:%i: " #what " is not equal to " #to "(%p)", __func__, __LINE__, (void*)__tmp2); \
+ fail_unless(__tmp1 == __tmp2, "%s:%i: " #what " is not equal to " #to "(%p) but to %p", __func__, __LINE__, (void*)__tmp2, (void*)__tmp1); \
}
#define check_not_equals(what,to) \