aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2019-11-27 17:42:48 +0100
committerGravatar Sebastiaan Zeeff <[email protected]>2019-11-27 17:42:48 +0100
commit4be37c1486ccb0a8fb680cb6dce51f8ad8028569 (patch)
tree09f9ff73d3ccb1d23b2d2fa55afdaa8c27607021 /tests
parentApply suggestions from code review (diff)
Move duckpond payload emoji check to method to create testable unit
I moved the check that tests if a payload contains a duck emoji to a separate method. This makes it easier to test this part of the code as a separate unit than when it's contained in the larger event listener. In addition, I kaizened the name `relay_message_to_duckpond` to the less verbose `relay_message`; that's already clear enough.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions