diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-05-13 13:32:00 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-05-13 13:32:00 +0100 |
commit | caebb77b4ef25d342ffdaf269b816264c9e39b68 (patch) | |
tree | dd5e7514d55cf58c1f330173c3109e341657e39b | |
parent | Add logging of bug refresh progress (diff) | |
download | gentoobrowse-api-caebb77b4ef25d342ffdaf269b816264c9e39b68.tar.bz2 gentoobrowse-api-caebb77b4ef25d342ffdaf269b816264c9e39b68.tar.xz gentoobrowse-api-caebb77b4ef25d342ffdaf269b816264c9e39b68.zip |
Fix dumb typo in preprocessor test
-rw-r--r-- | gentoobrowse-api/unittests/testMaintenance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse-api/unittests/testMaintenance.cpp b/gentoobrowse-api/unittests/testMaintenance.cpp index 2aa9ff8..1e3ae8e 100644 --- a/gentoobrowse-api/unittests/testMaintenance.cpp +++ b/gentoobrowse-api/unittests/testMaintenance.cpp @@ -299,7 +299,7 @@ BOOST_AUTO_TEST_CASE( testRefreshGitRepository ) SQL_REQUIRE_EQUAL("SELECT COUNT(*) FROM gentoobrowse.changelog WHERE commitid = 'ca4dc75c068fcffad6ff46678dfff3fcbdf8f1d2'", int64_t, 1); SQL_REQUIRE_EQUAL("SELECT COUNT(*) FROM gentoobrowse.changelog WHERE commitid = '8292397bf6a8c91215b03a558e8bc843aff25b64'", int64_t, 0); SQL_REQUIRE_EQUAL("SELECT ARRAY_LENGTH(files, 1) FROM gentoobrowse.changelog WHERE commitid = 'ca4dc75c068fcffad6ff46678dfff3fcbdf8f1d2'", int64_t, 5); -#if DUMBDB +#if DUMPDB db->execute("COPY gentoobrowse.changelog TO '/tmp/changelog.tsv'"); #endif } |