fix: _angular impulse_ unit symbol formatting unit test fixed

This commit is contained in:
Mateusz Pusz
2024-07-12 19:48:01 +02:00
parent 498d895fe5
commit f66222fb87

View File

@@ -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()); }