Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
Merge pull request #28 from Renegade334/devel-invalid-lines
Browse files Browse the repository at this point in the history
Add invalid tail test
  • Loading branch information
elazar committed May 21, 2015
2 parents cfa36e4 + 528ef46 commit 1132498
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/ParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,14 @@ public function dataProviderTestParse()
),
),

array(
":this:message:is:invalid\r\nNICK :Wiz",
array(
'invalid' => ":this:message:is:invalid\r\n",
'tail' => 'NICK :Wiz',
),
),

// PASS (RFC 1459 Section 4.1.1)
array(
"PASS :secretpasswordhere\r\n",
Expand Down

0 comments on commit 1132498

Please sign in to comment.