ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-dev:50988] [Ruby master Bug#17494] ruby is hunged when using activesupport + rspec + rspec-parameterized
@ 2020-12-31 11:47 sue445fukuoka
  2021-01-01  7:34 ` [ruby-dev:50989] [Ruby master Bug#17494] ruby is hanged " yasuo.honda
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: sue445fukuoka @ 2020-12-31 11:47 UTC (permalink / raw)
  To: ruby-dev

Issue #17494 has been reported by sue445 (Go Sueyoshi).

----------------------------------------
Bug #17494: ruby is hunged when using activesupport + rspec + rspec-parameterized
https://bugs.ruby-lang.org/issues/17494

* Author: sue445 (Go Sueyoshi)
* Status: Open
* Priority: Normal
* ruby -v: ruby 3.0.0p0
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
# Example code
## Gemfile
```ruby
# frozen_string_literal: true

source "https://rubygems.org"

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

gem "activesupport", "6.1.0"
gem "rspec", "3.10.0"
gem "rspec-parameterized", "0.4.2"
```

## spec file
``` ruby
require "active_support/all"
require "rspec-parameterized"

describe "CLI" do
  subject do
    # Expected error, but actual hunged here
    cli.foo # <- hunged here
  end

  it { expect { subject }.to raise_error }
end

xdescribe "GitlabMrRelease::Project" do
  describe "#api_version" do
    using RSpec::Parameterized::TableSyntax

    where(:api_endpoint, :expected) do
      "http://example.com/api/v4/" | 4
    end

    with_them do
      # it { should eq expected }
    end
  end
end
```

all codes are here.

https://github.com/sue445/ruby_3_0_0_bug_report_20201231

# Expected
spec is successful (This is the behavior up to ruby 2.7.2)

# Actual
hunged at line 7





-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-07-03  3:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-31 11:47 [ruby-dev:50988] [Ruby master Bug#17494] ruby is hunged when using activesupport + rspec + rspec-parameterized sue445fukuoka
2021-01-01  7:34 ` [ruby-dev:50989] [Ruby master Bug#17494] ruby is hanged " yasuo.honda
2021-01-22  5:41 ` [ruby-dev:50991] " sue445fukuoka
2021-01-22 16:32 ` [ruby-dev:50992] " alpaca-tc
2021-01-25  0:42 ` [ruby-dev:50996] " shyouhei
2021-01-25  8:51 ` [ruby-dev:50997] " nobu
2021-01-26  0:45 ` [ruby-dev:50998] " nobu
2021-01-26  5:32 ` [ruby-dev:50999] " yasuo.honda
2021-03-11  0:01 ` [ruby-dev:51032] " merch-redmine
2021-07-01 21:44 ` [ruby-dev:51074] " merch-redmine
2021-07-03  3:15 ` [ruby-dev:51075] " nagachika00

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).