Skip to content

Commit

Permalink
Merge pull request RIOT-OS#284 from aabadie/test_github_fix_update_co…
Browse files Browse the repository at this point in the history
…mment

testutils/test_github: compare stripped bodies
  • Loading branch information
miri64 authored Jun 5, 2023
2 parents e5ab154 + 283801f commit 0ab39ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testutils/tests/test_github.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ def test_update_comment(
if gist_id is not None:
task['gist_id'] = gist_id
testutils.github.update_comment(_get_mock_report("passed"), comment, task)
assert comment.body == exp_body
assert comment.body.strip() == exp_body.strip()
if exp_errs:
for exp_err in exp_errs:
assert exp_err in caplog.text
Expand Down

0 comments on commit 0ab39ed

Please sign in to comment.