diff options
author | josh.macdonald <jmacd@users.noreply.github.com> | 2008-07-06 00:39:55 +0000 |
---|---|---|
committer | josh.macdonald <jmacd@users.noreply.github.com> | 2008-07-06 00:39:55 +0000 |
commit | e82b0cd004eadfefb9465713acbe6b62a3f99f6f (patch) | |
tree | 2fc6c947d08abf65b726c0efd2343afdce37a8d5 /xdelta3/testing/test.h | |
parent | f946a79d77bd04e0d671b3c66e926d0c1ca3a213 (diff) |
Fix the modify test.
Diffstat (limited to 'xdelta3/testing/test.h')
-rw-r--r-- | xdelta3/testing/test.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xdelta3/testing/test.h b/xdelta3/testing/test.h index 53692fa..12f6b34 100644 --- a/xdelta3/testing/test.h +++ b/xdelta3/testing/test.h | |||
@@ -15,15 +15,15 @@ extern "C" { | |||
15 | 15 | ||
16 | #define CHECK_OP(x,y,OP) \ | 16 | #define CHECK_OP(x,y,OP) \ |
17 | do {if (!((x) OP (y))) { \ | 17 | do {if (!((x) OP (y))) { \ |
18 | cerr << "Check failed: " << #x " " #OP " " #y << endl; \ | 18 | cerr << __FILE__ << ":" << __LINE__ << " Check failed: " << #x " " #OP " " #y << endl; \ |
19 | cerr << "Expected: " << x << endl; \ | 19 | cerr << __FILE__ << ":" << __LINE__ << " Expected: " << x << endl; \ |
20 | cerr << "Actual: " << y << endl; \ | 20 | cerr << __FILE__ << ":" << __LINE__ << " Actual: " << y << endl; \ |
21 | abort(); \ | 21 | abort(); \ |
22 | } } while (false) | 22 | } } while (false) |
23 | 23 | ||
24 | #define CHECK(x) \ | 24 | #define CHECK(x) \ |
25 | do {if (!(x)) { \ | 25 | do {if (!(x)) { \ |
26 | cerr << "Check failed: " << #x << endl; \ | 26 | cerr << __FILE__ << ":" << __LINE__ << " Check failed: " << #x << endl; \ |
27 | abort(); \ | 27 | abort(); \ |
28 | } } while (false) | 28 | } } while (false) |
29 | 29 | ||