From 747c29e85faf56dfab402289e2a455f45ab7ca9e Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Sat, 12 Jul 2025 16:54:31 +0800 Subject: [PATCH] Add test files for `rawstr4c` --- rawstr4c/test-escape.md | 8 ++++++++ rawstr4c/test-hex.md | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 rawstr4c/test-escape.md create mode 100644 rawstr4c/test-hex.md diff --git a/rawstr4c/test-escape.md b/rawstr4c/test-escape.md new file mode 100644 index 0000000..95b5484 --- /dev/null +++ b/rawstr4c/test-escape.md @@ -0,0 +1,8 @@ +# Test for escape mode + +- translate = `:escape` + +```bash +echo "Hello World!" +printf "Line with \"quotes\" and 'apostrophes'\n" +``` diff --git a/rawstr4c/test-hex.md b/rawstr4c/test-hex.md new file mode 100644 index 0000000..0d515b1 --- /dev/null +++ b/rawstr4c/test-hex.md @@ -0,0 +1,7 @@ +# Test for hex mode + +- translate = `:hex` + +```bash +echo "Hello World!" +```