From ff70307869a547b13850d1eec3f72e8ca3bca265 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 29 Jun 2026 03:31:44 +0800 Subject: feat: add display block support and refactor tests Deprecate old macros in favor of new deprecated module, replace the external file-based test with inline unit tests, and introduce the `??? >>>` / `??? <<<` display block syntax for conditional content inclusion per arm or globally. --- src/test_input.txt | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 src/test_input.txt (limited to 'src/test_input.txt') diff --git a/src/test_input.txt b/src/test_input.txt deleted file mode 100644 index 97c91c4..0000000 --- a/src/test_input.txt +++ /dev/null @@ -1,16 +0,0 @@ -// Auto generated -use std::collections::HashMap; - -pub async fn <<>>( - name: &str, - data: &[u8], - params: &HashMap, -) -> Option, std::io::Error>> { - match name { ->>>>>>>>>> arms -@@@ >>> arms - "<<>>" => Some(<<>>::exec(data, params).await), -@@@ <<< - _ => None, - } -} -- cgit