Details

    • Number of attachments :
      0

      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

        Activity

        Hide
        Hiro Asari added a comment -

        Seems to be fixed in master now.

        Show
        Hiro Asari added a comment - Seems to be fixed in master now.

          People

          • Assignee:
            Unassigned
            Reporter:
            Vladimir Sizikov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: