mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/nkf/test_nkf.rb: add a test for [ruby-dev:36909].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
abfddf2cd9
commit
52061f4ecd
2 changed files with 10 additions and 0 deletions
|
@ -13,4 +13,10 @@ Ruby"
|
|||
assert_equal(::NKF::EUC, NKF.guess(str_euc))
|
||||
end
|
||||
|
||||
def test_ruby_dev_36909
|
||||
assert_nothing_raised do
|
||||
1000.times { NKF.nkf("--oc=eucJP-nkf", "foo") }
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue