From 0711006266485105f53bf4357c09c2a7d0d1742f Mon Sep 17 00:00:00 2001 From: Marvin Date: Tue, 12 Dec 2023 19:23:43 -0500 Subject: [PATCH] Fixed messages --- tests/fast_int.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/fast_int.cpp b/tests/fast_int.cpp index 3f1ef72..5811b58 100644 --- a/tests/fast_int.cpp +++ b/tests/fast_int.cpp @@ -39,13 +39,13 @@ int main() if (answer.ec != std::errc()) { if (answer.ec == std::errc::invalid_argument) { - std::cerr << "could not convert to int for input: " << std::quoted(f) << "because of invalid arguement, output: " << result << " , ptr: " << answer.ptr << std::endl; + std::cerr << "could not convert to int for input: " << std::quoted(f) << " because of invalid arguement, output: " << result << " , ptr: " << answer.ptr << std::endl; } else if (answer.ec == std::errc::result_out_of_range) { - std::cerr << "could not convert to int for input: " << std::quoted(f) << "because it's out of range, output: " << result << " , ptr: " << answer.ptr << std::endl; + std::cerr << "could not convert to int for input: " << std::quoted(f) << " because it's out of range, output: " << result << " , ptr: " << answer.ptr << std::endl; } else { - std::cerr << "could not convert to int for input: " << std::quoted(f) << "because of an unknown error, output: " << result << " , ptr: " << answer.ptr << std::endl; + std::cerr << "could not convert to int for input: " << std::quoted(f) << " because of an unknown error, output: " << result << " , ptr: " << answer.ptr << std::endl; } return EXIT_FAILURE; }