Skip to content

Commit

Permalink
fix: _angular impulse_ unit symbol formatting unit test fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Jul 12, 2024
1 parent 498d895 commit f66222f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtime/fmt_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()); }

Expand Down

0 comments on commit f66222f

Please sign in to comment.