mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Set ASCII-8BIT encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
53da7250ed
commit
4c02456b3d
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ class TestBugReporter < Test::Unit::TestCase
|
|||
"-C", tmpdir]
|
||||
stdin = "register_sample_bug_reporter(12345); Process.kill :SEGV, $$; sleep"
|
||||
_, stderr, status = EnvUtil.invoke_ruby(args, stdin, false, true)
|
||||
stderr.force_encoding("ASCII-8BIT")
|
||||
assert_pattern_list(expected_stderr, stderr)
|
||||
ensure
|
||||
FileUtils.rm_rf(tmpdir) if tmpdir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue