Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.4
-
Fix Version/s: JRuby 1.6.1
-
Component/s: Core Classes/Modules, RubySpec
-
Labels:None
-
Number of attachments :
Description
2) String#gsub with pattern and replacement respects $KCODE when the pattern collapses FAILED Expected ".у.Б.\223.у.Б.\253.у.Б.\241.у.В.\217." to equal ".уБУ.уБл.уБб.уВП." D:/work/jruby-dev/rubyspec.git/core/string/gsub_spec.rb:24 D:/work/jruby-dev/rubyspec.git/core/string/gsub_spec.rb:5 D:/work/jruby-dev/rubyspec.git/core/string/gsub_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 3) String#split with Regexp respects $KCODE when splitting between characters FAILED Expected 12 to equal 4 D:/work/jruby-dev/rubyspec.git/core/string/split_spec.rb:246 D:/work/jruby-dev/rubyspec.git/core/string/split_spec.rb:157 D:/work/jruby-dev/rubyspec.git/core/string/split_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8
In 1.9 mode, there 3 failures:
String#gsub with pattern and replacement respects $KCODE when the pattern collapses
String#scan respects $KCODE when the pattern collapses to nothing
String#split with Regexp respects $KCODE when splitting between characters
Seems to be fixed in master now.