aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/bot/rules/test_links.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bot/rules/test_links.py b/tests/bot/rules/test_links.py
index f043495cf..a04b90c13 100644
--- a/tests/bot/rules/test_links.py
+++ b/tests/bot/rules/test_links.py
@@ -38,9 +38,9 @@ class LinksTests(unittest.TestCase):
cases = (
[msg("bob", 0)],
[msg("bob", 2)],
- [msg("bob", 3)],
+ [msg("bob", 3)], # Filter only applies if len(messages_with_links) > 1
[msg("bob", 1), msg("bob", 1)],
- [msg("bob", 3), msg("alice", 3)]
+ [msg("bob", 3), msg("alice", 3)] # Only messages from latest author count
)
for recent_messages in cases: