Actions
Bug #3933
closedTestIO_M17N#test_ungetc_intがエラーになる
Description
=begin
前田です。
手元の環境で、TestIO_M17N#test_ungetc_intがエラーになるようです。
$ ruby-trunk -v test/ruby/test_io_m17n.rb -n /ungetc_int/
ruby 1.9.3dev (2010-10-12 trunk 29450) [i686-linux]
test/ruby/test_io_m17n.rb:1451: warning: assigned but unused variable - un
Test run options: --seed 47369 --name "/ungetc_int/"
Loaded suite test/ruby/test_io_m17n
Started
E
Finished in 0.006128 seconds.
- Error:
test_ungetc_int(TestIO_M17N):
TypeError: can't convert Bignum into String
test/ruby/test_io_m17n.rb:425:inungetc' test/ruby/test_io_m17n.rb:425:in
block (2 levels) in test_ungetc_int'
test/ruby/test_io_m17n.rb:424:inopen' test/ruby/test_io_m17n.rb:424:in
block in test_ungetc_int'
test/ruby/test_io_m17n.rb:17:inblock (2 levels) in with_tmpdir' test/ruby/test_io_m17n.rb:16:in
chdir'
test/ruby/test_io_m17n.rb:16:in `block in with_tmpdir'
1 tests, 0 assertions, 0 failures, 1 errors, 0 skips
Test run options: --seed 47369 --name "/ungetc_int/"
r29448を見ると、SIZEOF_LONG > SIZEOF_INTの時だけBignumの処理を追加している
ようなのですが、これはなぜでしょうか。
=end
Updated by naruse (Yui NARUSE) about 14 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r29454.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Actions
Like0
Like0