chore: Phase3 Word 解析收尾(尾随换行/import 排序/契约注释)

This commit is contained in:
lhl
2026-08-10 23:39:53 +08:00
parent 16921ecbb4
commit 31167c9314
4 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -95,4 +95,4 @@ def test_parse_extensionless_rule(tmp_path):
bad = tmp_path / "note"
bad.write_text("hello", encoding="utf-8")
with pytest.raises(ValueError, match="无扩展名"):
SourceParser().parse(rule_paths=[bad])
SourceParser().parse(rule_paths=[bad])