diff options
Diffstat (limited to 'gl/tests/macros.h')
-rw-r--r-- | gl/tests/macros.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/tests/macros.h b/gl/tests/macros.h index 60ba894d89..1ceb815116 100644 --- a/gl/tests/macros.h +++ b/gl/tests/macros.h @@ -48,8 +48,8 @@ { \ if (!(expr)) \ { \ - fprintf (ASSERT_STREAM, "%s:%d: assertion failed\n", \ - __FILE__, __LINE__); \ + fprintf (ASSERT_STREAM, "%s:%d: assertion '%s' failed\n", \ + __FILE__, __LINE__, #expr); \ fflush (ASSERT_STREAM); \ abort (); \ } \ |