diff --git a/tests/SelfTest/IntrospectiveTests/ToString.tests.cpp b/tests/SelfTest/IntrospectiveTests/ToString.tests.cpp index e1904606..60fafc80 100644 --- a/tests/SelfTest/IntrospectiveTests/ToString.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/ToString.tests.cpp @@ -103,15 +103,15 @@ TEST_CASE( "#2944 - Stringifying dates before 1970 should not crash", "[.approva using Catch::Matchers::Equals; using Days = std::chrono::duration>; using SysDays = std::chrono::time_point; - Catch::StringMaker sm; + using SM = Catch::StringMaker; // Check simple date first const SysDays post1970{ Days{ 1 } }; - auto converted_post = sm.convert( post1970 ); + auto converted_post = SM::convert( post1970 ); REQUIRE( converted_post == "1970-01-02T00:00:00Z" ); const SysDays pre1970{ Days{ -1 } }; - auto converted_pre = sm.convert( pre1970 ); + auto converted_pre = SM::convert( pre1970 ); REQUIRE_THAT( converted_pre, Equals( "1969-12-31T00:00:00Z" ) ||