Skip to content

Commit

Permalink
fix: Incorrect label for xfailed
Browse files Browse the repository at this point in the history
  • Loading branch information
BeyondEvil committed Sep 10, 2023
1 parent 3e21601 commit 9151c06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pytest_html/report_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, config):
"failed": {"label": "Failed", "value": 0},
"passed": {"label": "Passed", "value": 0},
"skipped": {"label": "Skipped", "value": 0},
"xfailed": {"label": "Unexpected failures", "value": 0},
"xfailed": {"label": "Expected failures", "value": 0},
"xpassed": {"label": "Unexpected passes", "value": 0},
"error": {"label": "Errors", "value": 0},
"rerun": {"label": "Reruns", "value": 0},
Expand Down
2 changes: 1 addition & 1 deletion testing/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"skipped": "Skipped",
"failed": "Failed",
"error": "Errors",
"xfailed": "Unexpected failures",
"xfailed": "Expected failures",
"xpassed": "Unexpected passes",
"rerun": "Reruns",
}
Expand Down

0 comments on commit 9151c06

Please sign in to comment.