update test to use module when WITH_MODULE macro is set

This commit is contained in:
Arthur LAURENT
2023-10-15 18:51:56 +02:00
parent 23aff1938a
commit 6723c81877
30 changed files with 154 additions and 4 deletions
+4
View File
@@ -1,4 +1,8 @@
#ifdef WITH_MODULE
import argparse;
#else
#include <argparse/argparse.hpp>
#endif
#include <doctest.hpp>
using doctest::test_suite;