From f47c5db86639c0485af465e9e8c1742edf3b0ac5 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Mon, 29 Apr 2024 23:03:00 -0500 Subject: [PATCH] xo-indentlog: fix regression in utest for <..> printers --- utest/quoted.test.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/utest/quoted.test.cpp b/utest/quoted.test.cpp index d26cc1d1..df827421 100644 --- a/utest/quoted.test.cpp +++ b/utest/quoted.test.cpp @@ -63,12 +63,9 @@ namespace ut { quoted_tcase("\"oh!\", she said", true, "\"\\\"oh!\\\", she said\""), quoted_tcase("\"oh!\", she said", false, "\"\\\"oh!\\\", she said\""), + // special carveout for strings bracketed by <..>; assume already well-formed quoted_tcase("", true, ""), -#if __GNUC__ >= 13 && __GNUC_MINOR__ >= 2 - quoted_tcase("", false, "\"\""), -#else - quoted_tcase("", false, "\"\""), -#endif + quoted_tcase("", false, ""), }); TEST_CASE("quoted", "[quoted]") {