Skip to content

Commit 649f04a

Browse files
Saga4saga4
andauthored
[WIP] logger msg changes in VSC (#765)
Co-authored-by: saga4 <saga4@codeflashs-MacBook-Air.local>
1 parent 3ba8be6 commit 649f04a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

codeflash/lsp/helpers.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ def tree_to_markdown(tree: Tree, level: int = 0) -> str:
2929

3030

3131
def report_to_markdown_table(report: dict[TestType, dict[str, int]], title: str) -> str:
32-
lines = ["| Test Type | Passed ✅ | Failed ❌ |", "|-----------|--------|--------|"]
32+
lines = ["| Test Type | Passed ✅ |", "|-----------|--------|"]
3333
for test_type in TestType:
3434
if test_type is TestType.INIT_STATE_TEST:
3535
continue
3636
passed = report[test_type]["passed"]
37-
failed = report[test_type]["failed"]
38-
if passed == 0 and failed == 0:
37+
# failed = report[test_type]["failed"]
38+
if passed == 0:
3939
continue
40-
lines.append(f"| {test_type.to_name()} | {passed} | {failed} |")
40+
lines.append(f"| {test_type.to_name()} | {passed} |")
4141
table = "\n".join(lines)
4242
if title:
4343
return f"### {title}\n{table}"

0 commit comments

Comments
 (0)