aboutsummaryrefslogtreecommitdiff
path: root/old-tests/lexer
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-09-24 12:31:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-09-24 12:31:43 +0300
commitdec742c5fa8a8ab35b2bbe96f990a84959164f66 (patch)
tree7a89dd3bee22062fe0d7aa99366988cc7713bbb1 /old-tests/lexer
parent32b728b7e9ef2505220e8a4d7dffb4bfda94e16e (diff)
Fortify tests against NDEBUG
Diffstat (limited to 'old-tests/lexer')
-rw-r--r--old-tests/lexer/driver.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/old-tests/lexer/driver.cxx b/old-tests/lexer/driver.cxx
index 588f062..f5e47c3 100644
--- a/old-tests/lexer/driver.cxx
+++ b/old-tests/lexer/driver.cxx
@@ -3,13 +3,15 @@
#include <string>
#include <vector>
-#include <cassert>
#include <sstream>
#include <iostream>
#include <build/token>
#include <build/lexer>
+#undef NDEBUG
+#include <cassert>
+
using namespace std;
using namespace build;