mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-26 19:51:11 +08:00
docs: 清理测试运行器注释的档位与口径措辞
This commit is contained in:
@@ -34,8 +34,8 @@ pub fn escape_log_field(s: &str) -> String {
|
||||
s.replace(['\t', '\n', '\r'], " ")
|
||||
}
|
||||
|
||||
/// 原 print_fail_categories 的 String 版:类别计数降序;`vm: other`/`compile: other`
|
||||
/// /`other` 碎片桶附带 ≤5 条样本(`路径 消息首行`)。空类别返回空串。
|
||||
/// 类别计数降序的打印版(返回 String,可单测);`vm: other`/`compile: other`/`other`
|
||||
/// 碎片桶附带 ≤5 条样本(`路径 消息首行`)。空类别返回空串。
|
||||
pub fn format_fail_categories(stats: &RunStats, paths: &[PathBuf]) -> String {
|
||||
if stats.fail_categories.is_empty() {
|
||||
return String::new();
|
||||
|
||||
Reference in New Issue
Block a user