Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/email_reply_parser_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def test_mulitple_on
def test_pathological_emails
t0 = Time.now
email("pathological")
assert (Time.now - t0) < 1, "Took too long, upgrade to re2 gem."
assert (Time.now - t0) < 1, "Took too long, upgrade to re2 gem. See https://rubygems.org/gems/re2"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Slightly tweaking the error message language:

Suggested change
assert (Time.now - t0) < 1, "Took too long, upgrade to re2 gem. See https://rubygems.org/gems/re2"
assert (Time.now - t0) < 1, "Parsing took too long, please install the re2 gem locally. See https://rubygems.org/gems/re2"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, maintainers aren't able to edit the upstream. 🙂Accepting as-is. 👍

end

def test_doesnt_remove_signature_delimiter_in_mid_line
Expand Down