aboutsummaryrefslogtreecommitdiff
path: root/tests/basics/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basics/driver.cxx')
-rw-r--r--tests/basics/driver.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/basics/driver.cxx b/tests/basics/driver.cxx
index bcdd210..f45985a 100644
--- a/tests/basics/driver.cxx
+++ b/tests/basics/driver.cxx
@@ -6,6 +6,7 @@
// is done in the odb-tests package.
#include <cassert>
+#include <sstream>
#include <odb/sqlite/database.hxx>
#include <odb/sqlite/exceptions.hxx>
@@ -16,6 +17,12 @@ using namespace odb::sqlite;
int
main ()
{
+ {
+ std::ostringstream os;
+ database::print_usage (os);
+ assert (!os.str ().empty ());
+ }
+
database db (":memory:");
{