Skip to content

Commit a59c586

Browse files
committed
test_commit_email.rb: Split out as binary for --with-gmp
https://github.com/ruby/ruby/actions/runs/18365998053/job/52318906076
1 parent f012543 commit a59c586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/test/test_commit_email.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_sendmail_encoding
4545
'--viewer-uri', 'https://github.com/ruby/ruby/commit/',
4646
'--error-to', 'cvs-admin@ruby-lang.org',
4747
], '', true)
48-
stdin = out.split(STDIN_DELIMITER, 2).last
48+
stdin = out.b.split(STDIN_DELIMITER.b, 2).last.force_encoding('UTF-8')
4949

5050
assert_true(status.success?)
5151
assert_equal(stdin, <<~EOS)

0 commit comments

Comments
 (0)