From f66222fb87ffed5177f951d6f00cd0605e00e081 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 12 Jul 2024 19:48:01 +0200 Subject: [PATCH] fix: _angular impulse_ unit symbol formatting unit test fixed --- test/runtime/fmt_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtime/fmt_test.cpp b/test/runtime/fmt_test.cpp index b776edced..f3b98aa7c 100644 --- a/test/runtime/fmt_test.cpp +++ b/test/runtime/fmt_test.cpp @@ -172,7 +172,7 @@ TEST_CASE("operator<< on a quantity", "[text][ostream][fmt]") const auto q = 123 * isq::angular_impulse[N * m * s]; os << q; - SECTION("iostream") { CHECK(os.str() == "123 N m s"); } + SECTION("iostream") { CHECK(os.str() == "123 m N s"); } SECTION("fmt with default format {} on a quantity") { CHECK(MP_UNITS_STD_FMT::format("{}", q) == os.str()); }