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

ruby-changes:3730

From: ko1@a...
Date: Thu, 24 Jan 2008 20:52:00 +0900 (JST)
Subject: [ruby-changes:3730] usa - Ruby:r15219 (trunk): * test/ruby/test_m17n.rb: commit miss.

usa	2008-01-24 20:51:52 +0900 (Thu, 24 Jan 2008)

  New Revision: 15219

  Modified files:
    trunk/test/ruby/test_m17n.rb

  Log:
    * test/ruby/test_m17n.rb: commit miss.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_m17n.rb?r1=15219&r2=15218&diff_format=u

Index: test/ruby/test_m17n.rb
===================================================================
--- test/ruby/test_m17n.rb	(revision 15218)
+++ test/ruby/test_m17n.rb	(revision 15219)
@@ -363,6 +363,8 @@
     assert_regexp_fixed_ascii8bit(eval(a(%{/\xc2\xa1/n})))
     assert_regexp_fixed_ascii8bit(eval(a(%q{/\xc2\xa1/})))
 
+    assert_raise(SyntaxError) { eval("/\xa1\xa1/n".force_encoding("euc-jp")) }
+
     [/\xc2\xa1/n, eval(a(%{/\xc2\xa1/})), eval(a(%{/\xc2\xa1/n}))].each {|r|
       assert_equal(nil, r =~ a("a"))
       assert_equal(nil, r =~ e("a"))

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

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