-
Notifications
You must be signed in to change notification settings - Fork 551
Closed as not planned
Closed as not planned
Copy link
Description
Steps to reproduce
- Install Ruby 3.4.0dev
- Run these commands
git clone https://github.com/rails/thor
cd thor
bundle install
bundle exec rspec ./spec/no_warnings_spec.rb:4Expected behavior
It should pass.
Actual behavior
It fails as follows.
$ ruby -v
ruby 3.4.0dev (2024-10-26T13:20:34Z master 484ea00d2e) +PRISM [x86_64-linux]
$ bundle exec rspec ./spec/no_warnings_spec.rb:4
Source locally installed gems is ignoring #<Bundler::StubSpecification name=prism version=1.0.0 platform=ruby> because it is missing extensions
Source locally installed gems is ignoring #<Bundler::StubSpecification name=json version=2.7.2 platform=ruby> because it is missing extensions
Source locally installed gems is ignoring #<Bundler::StubSpecification name=google-protobuf version=4.27.0 platform=ruby> because it is missing extensions
Source locally installed gems is ignoring #<Bundler::StubSpecification name=cgi version=0.4.1 platform=ruby> because it is missing extensions
Run options: include {locations: {"./spec/no_warnings_spec.rb" => [4]}}
F
Failures:
1) when $VERBOSE is enabled prints no warnings
Failure/Error: expect(err).to be_empty
expected `"Source locally installed gems is ignoring #<Bundler::StubSpecification name=prism version=1.0.0 plat...Bundler::StubSpecification name=cgi version=0.4.1 platform=ruby> because it is missing extensions\n".empty?` to be truthy, got false
# ./spec/no_warnings_spec.rb:8:in 'block (2 levels) in <top (required)>'
Finished in 0.16809 seconds (files took 0.05484 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/no_warnings_spec.rb:4 # when $VERBOSE is enabled prints no warnings
$Metadata
Metadata
Assignees
Labels
No labels