mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test_exception.rb: indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a35a256bad
commit
75ec406b43
1 changed files with 1 additions and 1 deletions
|
@ -677,7 +677,7 @@ end.join
|
|||
def test_output_string_encoding
|
||||
# "\x82\xa0" in cp932 is "\u3042" (Japanese hiragana 'a')
|
||||
# change $stderr to force calling rb_io_write() instead of fwrite()
|
||||
assert_in_out_err(["-Eutf-8:cp932"], '# coding: cp932
|
||||
assert_in_out_err(["-Eutf-8:cp932"], '# coding: cp932
|
||||
$stderr = $stdout; raise "\x82\xa0"') do |outs, errs, status|
|
||||
assert_equal 1, outs.size
|
||||
assert_equal 0, errs.size
|
||||
|
|
Loading…
Reference in a new issue