From c87b4782a887c7a5b9e318dc6b4ac1f0ba7b1be9 Mon Sep 17 00:00:00 2001 From: Krystine Sherwin <93062060+KrystalDelusion@users.noreply.github.com> Date: Sat, 17 Aug 2024 11:33:29 +1200 Subject: [PATCH] More quoted log tests --- tests/scripts/test_logging.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/scripts/test_logging.sh b/tests/scripts/test_logging.sh index 9910d8622..d69fcc752 100755 --- a/tests/scripts/test_logging.sh +++ b/tests/scripts/test_logging.sh @@ -26,6 +26,11 @@ test_log "\"test\"" "test" test_log "\"test;\"" "test;" test_log "\"test;;\"" "test;;" test_log "\"test\" abc" "\"test\" abc" +test_log "\"#comments\" #123" "#comments" +test_log "\"!bang\"" "!bang" +test_log "\"spaces are cool too\"" "spaces are cool too" +test_log "\"log a\"; log b" "log a" +test_log "\"log a\"; log b" "b" if [ -f quotes-*.err ] ; then exit 1