diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-24 11:51:52 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-24 11:51:52 +0000 |
commit | e27f4ef689bf15d47b7d5a56fbc11f39e5b377a0 (patch) | |
tree | 1539755a2d17720300af4005f46f9d9807b7f29e | |
parent | 120bb4a9d55a6e2b8c44b6223e7b5a2905a4abe4 (diff) | |
download | ruby-e27f4ef689bf15d47b7d5a56fbc11f39e5b377a0.tar.gz |
* test/ruby/test_m17n.rb: commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/ruby/test_m17n.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_m17n.rb b/test/ruby/test_m17n.rb index 86c69de22c..dbeb1c10af 100644 --- a/test/ruby/test_m17n.rb +++ b/test/ruby/test_m17n.rb @@ -363,6 +363,8 @@ class TestM17N < Test::Unit::TestCase 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")) |