Skip to content

Commit

Permalink
fix missing header in tests; clean up output
Browse files Browse the repository at this point in the history
  • Loading branch information
bcumming committed Oct 16, 2024
1 parent c5538c4 commit 0d674be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions test/unit/main.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#include <charconv>

#define CATCH_CONFIG_MAIN
#include <catch2/catch_all.hpp>

Expand Down
5 changes: 0 additions & 5 deletions test/unit/repository.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ TEST_CASE("read-only", "[repository]") {
SKIP(fmt::format("{}", store.error()));
}

fmt::println("db path: {}", store->db_path().string());
{
auto results = store->query({{}, {}, {}, {}, {}});
if (!results) {
Expand All @@ -29,7 +28,6 @@ TEST_CASE("read-only", "[repository]") {
//}
}

fmt::println("");
{
auto results = store->query({"mch", {}, {}, {}, {}});
if (!results) {
Expand All @@ -42,7 +40,6 @@ TEST_CASE("read-only", "[repository]") {
//}
}

fmt::println("");
{
auto results = store->query({{}, "v7", {}, {}, {}});
if (!results) {
Expand All @@ -55,7 +52,6 @@ TEST_CASE("read-only", "[repository]") {
//}
}

fmt::println("");
{
auto results = store->query({{}, "24.7", "v1-rc1", {}, "a100"});
if (!results) {
Expand All @@ -68,7 +64,6 @@ TEST_CASE("read-only", "[repository]") {
//}
}

fmt::println("");
{
auto results = store->query({"wombat", {}, {}, {}, {}});
if (!results) {
Expand Down

0 comments on commit 0d674be

Please sign in to comment.