From 120827d4d616d4aa024dbe8d0eeba8089bcba80c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Tue, 10 Feb 2026 14:31:30 +0100 Subject: [PATCH] Fix formatting in catch_commandline.cpp --- src/catch2/internal/catch_commandline.cpp | 24 +++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/catch2/internal/catch_commandline.cpp b/src/catch2/internal/catch_commandline.cpp index 61825df9..34bda5e2 100644 --- a/src/catch2/internal/catch_commandline.cpp +++ b/src/catch2/internal/catch_commandline.cpp @@ -193,18 +193,18 @@ namespace Catch { return ParserResult::ok( ParseResultType::Matched ); }; auto const setBenchmarkSamples = [&]( std::string const& samples ) { - auto parsedSamples = parseUInt( samples ); - if ( !parsedSamples ) { - return ParserResult::runtimeError( - "Could not parse '" + samples + "' as benchmark samples" ); - } - if ( *parsedSamples == 0 ) { - return ParserResult::runtimeError( - "Benchmark samples must be greater than 0" ); - } - config.benchmarkSamples = *parsedSamples; - return ParserResult::ok( ParseResultType::Matched ); - }; + auto parsedSamples = parseUInt( samples ); + if ( !parsedSamples ) { + return ParserResult::runtimeError( + "Could not parse '" + samples + "' as benchmark samples" ); + } + if ( *parsedSamples == 0 ) { + return ParserResult::runtimeError( + "Benchmark samples must be greater than 0" ); + } + config.benchmarkSamples = *parsedSamples; + return ParserResult::ok( ParseResultType::Matched ); + }; auto const setShardIndex = [&](std::string const& shardIndex) { auto parsedIndex = parseUInt( shardIndex );