1
0
Fork 0
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:
mame 2008-10-26 16:31:15 +00:00
parent abfddf2cd9
commit 52061f4ecd
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Mon Oct 27 01:29:55 2008 Yusuke Endoh <mame@tsg.ne.jp>
* test/nkf/test_nkf.rb: add a test for [ruby-dev:36909].
Mon Oct 27 01:05:48 2008 NARUSE, Yui <naruse@ruby-lang.org>
* ext/nkf/nkf.c (rb_nkf_convert): avoid GC.

View file

@ -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