mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* encoding.c (enc_find): mistakenly remained !. [Bug #5150]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7340796338
commit
a0b9f48674
3 changed files with 8 additions and 1 deletions
|
@ -50,6 +50,9 @@ class TestEncoding < Test::Unit::TestCase
|
|||
exit Encoding.find("filesystem") == Encoding::EUC_JP
|
||||
EOS
|
||||
end
|
||||
|
||||
bug5150 = '[ruby-dev:44327]'
|
||||
assert_raise(TypeError, bug5150) {Encoding.find(1)}
|
||||
end
|
||||
|
||||
def test_replicate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue