Skip to content

Commit 4c02456

Browse files
committed
Set ASCII-8BIT encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 53da725 commit 4c02456

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/-ext-/bug_reporter/test_bug_reporter.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def test_bug_reporter_add
1818
"-C", tmpdir]
1919
stdin = "register_sample_bug_reporter(12345); Process.kill :SEGV, $$; sleep"
2020
_, stderr, status = EnvUtil.invoke_ruby(args, stdin, false, true)
21+
stderr.force_encoding("ASCII-8BIT")
2122
assert_pattern_list(expected_stderr, stderr)
2223
ensure
2324
FileUtils.rm_rf(tmpdir) if tmpdir

0 commit comments

Comments
 (0)