From 9cbad612f172ccd92ebaaacd6b4ff9404b68dec2 Mon Sep 17 00:00:00 2001 From: saga4 Date: Fri, 26 Sep 2025 10:10:17 -0700 Subject: [PATCH] [WIP] logger msg changes in VSC --- codeflash/lsp/helpers.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/codeflash/lsp/helpers.py b/codeflash/lsp/helpers.py index 1f17c3917..c012d56cc 100644 --- a/codeflash/lsp/helpers.py +++ b/codeflash/lsp/helpers.py @@ -29,15 +29,15 @@ def tree_to_markdown(tree: Tree, level: int = 0) -> str: def report_to_markdown_table(report: dict[TestType, dict[str, int]], title: str) -> str: - lines = ["| Test Type | Passed ✅ | Failed ❌ |", "|-----------|--------|--------|"] + lines = ["| Test Type | Passed ✅ |", "|-----------|--------|"] for test_type in TestType: if test_type is TestType.INIT_STATE_TEST: continue passed = report[test_type]["passed"] - failed = report[test_type]["failed"] - if passed == 0 and failed == 0: + # failed = report[test_type]["failed"] + if passed == 0: continue - lines.append(f"| {test_type.to_name()} | {passed} | {failed} |") + lines.append(f"| {test_type.to_name()} | {passed} |") table = "\n".join(lines) if title: return f"### {title}\n{table}"