summaryrefslogtreecommitdiff
path: root/test/nkf
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-26 16:31:15 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-26 16:31:15 +0000
commit52061f4ecd3b6effb6b35f1aec30061fbc9f7fdb (patch)
tree193cdafa7add255de179715cded2f31e3a3baada /test/nkf
parentabfddf2cd962d4a41a4e56761dd891d2edac569f (diff)
* 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
Diffstat (limited to 'test/nkf')
-rw-r--r--test/nkf/test_nkf.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/nkf/test_nkf.rb b/test/nkf/test_nkf.rb
index 279ad59..2c6b964 100644
--- a/test/nkf/test_nkf.rb
+++ b/test/nkf/test_nkf.rb
@@ -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