xo-indentlog: utest: ++ behavior tracking for gcc 13.2

This commit is contained in:
Roland Conybeare 2024-04-29 10:45:54 -04:00
commit 787aba1e19

View file

@ -53,7 +53,11 @@ namespace ut {
#endif
quoted_tcase("misakte\rfix", true, "\"misakte\\rfix\""),
#if __GNUC__ >= 13 && __GNUC_MINOR >= 2
quoted_tcase("misakte\rfix", false, "\"misakte\rfix\""),
#else
quoted_tcase("misakte\rfix", false, "\"misakte\\rfix\""),
#endif
quoted_tcase("\"oh!\", she said", true, "\"\\\"oh!\\\", she said\""),
quoted_tcase("\"oh!\", she said", false, "\"\\\"oh!\\\", she said\""),
@ -66,6 +70,10 @@ namespace ut {
for (std::uint32_t i_tc = 0, z_tc = s_quoted_tcase_v.size(); i_tc < z_tc; ++i_tc) {
quoted_tcase const & tc = s_quoted_tcase_v[i_tc];
/* NOTE: don't use tag()/xtag() here,
* since implementation relies on the inserter we are testing
*/
INFO(tostr("i_tc=", i_tc, " unq_flag=", tc.unq_flag_));
INFO("tc.x_ ----------------");
INFO(tostr("[", tc.x_, "]"));