Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add a test for receiving all messages
  • Loading branch information
AlexDaniel committed Aug 12, 2019
1 parent dec2b50 commit fc4d257
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xt/tellable.t
Expand Up @@ -206,6 +206,10 @@ $t.test(‘.tell (normalization, doubled letters)’,
.tell {$t.our-nick.comb.map({$_ x 2}).join} whatever,
{$t.our-nick}, I'll pass your message to {$t.our-nick.comb.map({$_ x 2}).join});

$t.test(receiving all messages (normalization),
I'm back!,
|(/^ ‘2’\S+‘Z #whateverable_tellable6 <’<me($t)>‘> ’\S+‘ whatever’ $/ xx 8)
);

# TODO it kinda works but for some reason not with long nicks
#$t.test(‘.tell autocorrect’,
Expand Down

0 comments on commit fc4d257

Please sign in to comment.