[前][次][番号順一覧][スレッド一覧]

ruby-changes:8424

From: mame <ko1@a...>
Date: Mon, 27 Oct 2008 01:31:36 +0900 (JST)
Subject: [ruby-changes:8424] Ruby:r19955 (trunk): * test/nkf/test_nkf.rb: add a test for .

mame	2008-10-27 01:31:15 +0900 (Mon, 27 Oct 2008)

  New Revision: 19955

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19955

  Log:
    * test/nkf/test_nkf.rb: add a test for [ruby-dev:36909].

  Modified files:
    trunk/ChangeLog
    trunk/test/nkf/test_nkf.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 19954)
+++ ChangeLog	(revision 19955)
@@ -1,3 +1,7 @@
+Mon Oct 27 01:29:55 2008  Yusuke Endoh  <mame@t...>
+
+	* test/nkf/test_nkf.rb: add a test for [ruby-dev:36909].
+
 Mon Oct 27 01:05:48 2008  NARUSE, Yui  <naruse@r...>
 
 	* ext/nkf/nkf.c (rb_nkf_convert): avoid GC.
Index: test/nkf/test_nkf.rb
===================================================================
--- test/nkf/test_nkf.rb	(revision 19954)
+++ test/nkf/test_nkf.rb	(revision 19955)
@@ -13,4 +13,10 @@
     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]