1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/enc/test_utf16.rb: feature changed in r20626.

follows it.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2008-12-13 05:26:37 +00:00
parent a6c69a7d35
commit ada58fe013
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sat Dec 13 14:24:38 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* test/ruby/enc/test_utf16.rb: feature changed in r20626.
follows it.
Sat Dec 13 13:41:44 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* test/ruby/test_m17n_comb.rb: feature changed in r20626.

View file

@ -270,7 +270,7 @@ EOT
end
def test_regexp_match
assert_raise(ArgumentError) { Regexp.new("aa".force_encoding("utf-16be")) =~ "aa" }
assert_raise(Encoding::CompatibilityError) { Regexp.new("aa".force_encoding("utf-16be")) =~ "aa" }
end
def test_gsub