Skip to content

Commit

Permalink
Add failing test case for multiple email address parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
cpjolicoeur committed Aug 28, 2014
1 parent 8ed7498 commit b6ba109
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/bb-ruby_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ def test_google_video

def test_email
assert_equal '<a href="mailto:wadus@wadus.com">wadus@wadus.com</a>', '[email]wadus@wadus.com[/email]'.bbcode_to_html
assert_equal '<a href="mailto:abc@example.com">abc@example.com</a><a href="mailto:xyz@example.com">xyz@example.com</a>', '[email]abc@example.com[/email][email]xyz@example.com[/email]'.bbcode_to_html
end

def test_auto_link
Expand Down

0 comments on commit b6ba109

Please sign in to comment.