Project

General

Profile

Actions

Bug #19260

closed

ruby/spec is failed with Ruby 3.3

Added by hsbt (Hiroshi SHIBATA) almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:111432]

Description

After bumping version, we got the some fails with ruby/spec.

https://github.com/ruby/ruby/actions/runs/3778576412/jobs/6423166914

  1)
  Literal Regexps handles a lookbehind with ss characters ERROR
  RegexpError: invalid pattern in look-behind: /(?<!dss)/i
  /home/runner/work/ruby/ruby/src/spec/ruby/language/regexp_spec.rb:120:in `block (3 levels) in <top (required)>'
  /home/runner/work/ruby/ruby/src/spec/ruby/language/regexp_spec.rb:4:in `<top (required)>'
  
  2)
  Float#round does not lose precision during the rounding process FAILED
  Expected 767573.18758 to have same value and type as 767573.18759
  /home/runner/work/ruby/ruby/src/spec/ruby/core/float/round_spec.rb:148:in `block (3 levels) in <top (required)>'
  /home/runner/work/ruby/ruby/src/spec/ruby/core/float/round_spec.rb:3:in `<top (required)>'
  
  3)
  Encoding#replicate has been removed FAILED
  Expected #<Encoding:US-ASCII>.respond_to? :replicate, true
  to be falsy but was true
  /home/runner/work/ruby/ruby/src/spec/ruby/core/encoding/replicate_spec.rb:72:in `block (3 levels) in <top (required)>'
  /home/runner/work/ruby/ruby/src/spec/ruby/core/encoding/replicate_spec.rb:4:in `<top (required)>'
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0