From ac114dd2f85ae8aa7b641c370d9c04f88d1f19ef Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Wed, 16 Jul 2025 18:24:26 +0800 Subject: [PATCH] Add `translate-` file --- .../test/fixture/{escape.md => translate-escape.md} | 1 + tool/rawstr4c/test/fixture/{hex.md => translate-hex.md} | 0 tool/rawstr4c/test/fixture/translate-oct.md | 7 +++++++ 3 files changed, 8 insertions(+) rename tool/rawstr4c/test/fixture/{escape.md => translate-escape.md} (85%) rename tool/rawstr4c/test/fixture/{hex.md => translate-hex.md} (100%) create mode 100644 tool/rawstr4c/test/fixture/translate-oct.md diff --git a/tool/rawstr4c/test/fixture/escape.md b/tool/rawstr4c/test/fixture/translate-escape.md similarity index 85% rename from tool/rawstr4c/test/fixture/escape.md rename to tool/rawstr4c/test/fixture/translate-escape.md index 95b5484..1a7a434 100644 --- a/tool/rawstr4c/test/fixture/escape.md +++ b/tool/rawstr4c/test/fixture/translate-escape.md @@ -1,6 +1,7 @@ # Test for escape mode - translate = `:escape` +- output = `:terminal` ```bash echo "Hello World!" diff --git a/tool/rawstr4c/test/fixture/hex.md b/tool/rawstr4c/test/fixture/translate-hex.md similarity index 100% rename from tool/rawstr4c/test/fixture/hex.md rename to tool/rawstr4c/test/fixture/translate-hex.md diff --git a/tool/rawstr4c/test/fixture/translate-oct.md b/tool/rawstr4c/test/fixture/translate-oct.md new file mode 100644 index 0000000..cb510c9 --- /dev/null +++ b/tool/rawstr4c/test/fixture/translate-oct.md @@ -0,0 +1,7 @@ +# Test for oct mode + +- translate = `:oct` + +```bash +echo "Hello World!" +```