From 6dc756175003658cafb9039185a5094b9c157ba6 Mon Sep 17 00:00:00 2001 From: axxel Date: Tue, 26 Jul 2022 22:42:00 +0200 Subject: [PATCH] test: update to libfmt v9.0.0 --- test/blackbox/BlackboxTestRunner.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/blackbox/BlackboxTestRunner.cpp b/test/blackbox/BlackboxTestRunner.cpp index 0df58ba..b8afe14 100644 --- a/test/blackbox/BlackboxTestRunner.cpp +++ b/test/blackbox/BlackboxTestRunner.cpp @@ -158,8 +158,7 @@ static void doRunTests( auto folderName = directory.stem(); if (Size(imgPaths) != totalTests) - fmt::print("TEST {} => Expected number of tests: {}, got: {} => FAILED\n", folderName, totalTests, - imgPaths.size()); + fmt::print("TEST {} => Expected number of tests: {}, got: {} => FAILED\n", folderName.string(), totalTests, imgPaths.size()); for (auto& test : tests) { fmt::print("{:20} @ {:3}, {:3}", folderName.string(), test.rotation, Size(imgPaths)); @@ -234,7 +233,7 @@ static void doRunStructuredAppendTest( } if (Size(imageGroups) != totalTests) - fmt::print("TEST {} => Expected number of tests: {}, got: {} => FAILED\n", folderName, totalTests, + fmt::print("TEST {} => Expected number of tests: {}, got: {} => FAILED\n", folderName.string(), totalTests, imageGroups.size()); for (auto& test : tests) { @@ -445,7 +444,7 @@ int runBlackBoxTests(const fs::path& testPathPrefix, const std::set { 17, 20, 0 }, { 19, 20, 180 }, }); - + runTests("upca-extension-1", "UPC-A", 6, { { 3, 6, 0 }, { 4, 6, 180 }, -- 2.37.3