diff options
Diffstat (limited to 'testing/test.h')
-rw-r--r-- | testing/test.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/test.h b/testing/test.h index d1f1a22..1eabcbd 100644 --- a/testing/test.h +++ b/testing/test.h @@ -22,8 +22,8 @@ extern "C" { typeof(x) _y(y); \ if (!(_x OP _y)) { \ cerr << __FILE__ << ":" << __LINE__ << " Check failed: " << #x " " #OP " " #y << endl; \ - cerr << __FILE__ << ":" << __LINE__ << " Expected: " << _x << endl; \ - cerr << __FILE__ << ":" << __LINE__ << " Actual: " << _y << endl; \ + cerr << __FILE__ << ":" << __LINE__ << " {0} " << _x << endl; \ + cerr << __FILE__ << ":" << __LINE__ << " {1} " << _y << endl; \ abort(); \ } } while (false) #undef CHECK |