Skip to content

Commit

Permalink
tests: promote with simple char escape check
Browse files Browse the repository at this point in the history
  • Loading branch information
yasunariw committed Jan 5, 2021
1 parent 46b0420 commit ee52fb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mock_payloads/pull_request_review_comment.created.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"type": "User",
"site_admin": false
},
"body": "PR review comment example",
"body": "PR review comment example with <escaped & characters>",
"created_at": "2020-05-25T07:37:52Z",
"updated_at": "2020-05-25T07:38:26Z",
"html_url": "https://github.com/xinyuluo/monorepo/pull/4#discussion_r0",
Expand Down
6 changes: 4 additions & 2 deletions test/slack_payloads.expected
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,8 @@ will notify #a1-bot
"color": "#ccc",
"pretext":
"<https://github.com/xinyuluo/monorepo|[xinyuluo/monorepo]> *xinyuluo* commented on #4 <https://github.com/xinyuluo/monorepo/pull/4|README update>",
"text": "PR review comment example",
"text":
"PR review comment example with &lt;escaped &amp; characters&gt;",
"footer":
"New comment by xinyuluo in <https://github.com/xinyuluo/monorepo/pull/4#discussion_r0|README.md>"
}
Expand All @@ -419,7 +420,8 @@ will notify #backend
"color": "#ccc",
"pretext":
"<https://github.com/xinyuluo/monorepo|[xinyuluo/monorepo]> *xinyuluo* commented on #4 <https://github.com/xinyuluo/monorepo/pull/4|README update>",
"text": "PR review comment example",
"text":
"PR review comment example with &lt;escaped &amp; characters&gt;",
"footer":
"New comment by xinyuluo in <https://github.com/xinyuluo/monorepo/pull/4#discussion_r0|README.md>"
}
Expand Down

0 comments on commit ee52fb2

Please sign in to comment.