diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-29 03:31:44 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-29 03:31:44 +0800 |
| commit | ff70307869a547b13850d1eec3f72e8ca3bca265 (patch) | |
| tree | a6cc55e7cb993697dce95b3d449538ec296693fc /src/test_expect.txt | |
| parent | 03003aec99fc00c2a079bad9fb4e721432a6e6f0 (diff) | |
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.
Diffstat (limited to 'src/test_expect.txt')
| -rw-r--r-- | src/test_expect.txt | 14 |
1 files changed, 0 insertions, 14 deletions
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<String, String>, -) -> Option<Result<Vec<u32>, std::io::Error>> { - match name { - "my" => Some(my::exec(data, params).await), - "you" => Some(you::exec(data, params).await), - _ => None, - } -} |
