Skip to content

Commit 7f37be6

Browse files
summeratenderlove
authored andcommitted
Remove binary encoding
1 parent 9ab1f9b commit 7f37be6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/email_reply_parser_test.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ def test_deals_with_windows_line_endings
134134
assert_match /Steps 0-2/, reply.fragments[1].to_s
135135
end
136136

137+
def test_handles_non_ascii_characters
138+
non_ascii_body = "Here’s a test."
139+
assert_equal non_ascii_body, EmailReplyParser.parse_reply(non_ascii_body)
140+
end
141+
137142
def test_does_not_modify_input_string
138143
original = "The Quick Brown Fox Jumps Over The Lazy Dog"
139144
EmailReplyParser.read original

0 commit comments

Comments
 (0)