diff --git a/src/test/assert.hpp b/src/test/assert.hpp index e85125b..a27c6ca 100644 --- a/src/test/assert.hpp +++ b/src/test/assert.hpp @@ -15,4 +15,4 @@ #include -#define ASSERT(truth) if ((truth)); else { std::cout << "Assertion failed: " << #truth << std::endl; return 1; } +#define ASSERT(truth) if ((truth)); else { std::cout << "On line " << __LINE__ << ": Assertion failed: " << #truth << std::endl; return 1; }