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_expect.txt | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 src/test_expect.txt (limited to 'src/test_expect.txt') diff --git a/src/test_expect.txt b/src/test_expect.txt deleted file mode 100644 index c967707..0000000 --- a/src/test_expect.txt +++ /dev/null @@ -1,14 +0,0 @@ -// Auto generated -use std::collections::HashMap; - -pub async fn my_func( - name: &str, - data: &[u8], - params: &HashMap, -) -> Option, std::io::Error>> { - match name { - "my" => Some(my::exec(data, params).await), - "you" => Some(you::exec(data, params).await), - _ => None, - } -} -- cgit