summaryrefslogtreecommitdiff
path: root/test/UnitTests.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/UnitTests.cc')
-rw-r--r--test/UnitTests.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/UnitTests.cc b/test/UnitTests.cc
index 8b19a6fe..16e7e520 100644
--- a/test/UnitTests.cc
+++ b/test/UnitTests.cc
@@ -48,12 +48,12 @@ int main(int argc, char* argv[])
{
int index = 1;
-#if defined(VERIFY_ON)
if (argc > index && std::string(argv[index]) == "--verify") {
+#if defined(VERIFY_ON)
ledger::verify_enabled = true;
+#endif
index++;
}
-#endif
// Retreive test path from command line first argument. Default to
// "" which resolves to the top level suite.