From a791b442b56b3b807362eb711469c06b513a5f21 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 7 Dec 2000 22:28:59 +0000 Subject: Change line no format so that emacs can detect it. 2000-12-06 Not Zed * tests/lib/camel-test.h (check): Change line no format so that emacs can detect it. svn path=/trunk/; revision=6848 --- camel/tests/lib/camel-test.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'camel/tests/lib') diff --git a/camel/tests/lib/camel-test.h b/camel/tests/lib/camel-test.h index 6ff8281aeb..986a943fa3 100644 --- a/camel/tests/lib/camel-test.h +++ b/camel/tests/lib/camel-test.h @@ -9,10 +9,10 @@ void camel_test_failv(const char *why, va_list ap); /* perform a check assertion */ -#define check(x) do {if (!(x)) { camel_test_fail("%s (%d): %s", __FILE__, __LINE__, #x); } } while (0) +#define check(x) do {if (!(x)) { camel_test_fail("%s:%d: %s", __FILE__, __LINE__, #x); } } while (0) /* check with message */ #ifdef __GNUC__ -#define check_msg(x, y, z...) do {if (!(x)) { camel_test_fail("%s (%d): %s\n\t" #y, __FILE__, __LINE__, #x, ##z); } } while (0) +#define check_msg(x, y, z...) do {if (!(x)) { camel_test_fail("%s:%d: %s\n\t" #y, __FILE__, __LINE__, #x, ##z); } } while (0) #else static void check_msg(int truth, char *fmt, ...) { -- cgit v1.2.3