aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/lexer.test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/lexer.test.cxx')
-rw-r--r--libbuild2/lexer.test.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/lexer.test.cxx b/libbuild2/lexer.test.cxx
index 6d48885..809fcd6 100644
--- a/libbuild2/lexer.test.cxx
+++ b/libbuild2/lexer.test.cxx
@@ -2,7 +2,6 @@
// license : MIT; see accompanying LICENSE file
#include <cstdlib> // strtoul()
-#include <cassert>
#include <iostream>
#include <libbuild2/types.hxx>
@@ -11,6 +10,9 @@
#include <libbuild2/token.hxx>
#include <libbuild2/lexer.hxx>
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
namespace build2