summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Globals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Globals.h b/src/Globals.h
index 2cd160677..6661aa476 100644
--- a/src/Globals.h
+++ b/src/Globals.h
@@ -236,7 +236,7 @@ template class SizeChecker<UInt16, 2>;
// Same as assert but in all Self test builds
#ifdef SELF_TEST
-#define assert_test(x) ( !!(x) || (assert(0), exit(1), 0))
+#define assert_test(x) ( !!(x) || (assert(!#x), exit(1), 0))
#endif
/// A generic interface used mainly in ForEach() functions