Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
espzav committed Jan 30, 2025
1 parent c2f52f6 commit d8292a9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def get_test_diff(test1, test2, name, positive):
color = "red" if diff < 0 else "green"
else:
color = "green" if diff < 0 else "red"
return f"*<span style=\"color:{color}\"><sub>({diff})</sub></span>*"
sign = "+" if diff > 0 else ""
return f"*<span style=\"color:{color}\"><sub>({sign}{diff})</sub></span>*"


@pytest.mark.esp_box_3
Expand Down

0 comments on commit d8292a9

Please sign in to comment.