Skip to content

Commit

Permalink
Tests: add case for issue #21083
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Jul 3, 2016
1 parent 9ed0b9f commit 352d8f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Mantis/MentionParsingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ public function testMentionWithMultipleNewLineSeparated() {
$this->checkMentions( "Check with:\n@vboctor\n@someone.", array( 'vboctor', 'someone' ) );
}

public function testMentionNl2br() {
$this->checkMentions( string_nl2br( "Check with @vboctor\n" ) , array( 'vboctor' ) );
}

public function testMentionWithEmailAddress() {
$this->checkMentions( 'xxx@example.com', array() );
}
Expand Down

0 comments on commit 352d8f7

Please sign in to comment.