diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-14 12:28:17 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-14 12:28:17 +0200 |
commit | 0c0c237ab3904cb82b85f96984ed81e8c726ebb0 (patch) | |
tree | b176499631a87784f41ce760c05afe6f32d7b574 /tests | |
parent | 78a24698bef01448f7754e3fe6754d37c00a84c5 (diff) |
Various build2-related fixes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basics/driver.cxx | 7 |
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:"); { |