diff options
author | André Luis Leal Cardoso Junior <andrehjr@gmail.com> | 2022-03-11 15:15:25 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-11 15:15:25 -0300 |
commit | 592818e6fdc2e9546ca3ed84fbbd48a38bf80304 (patch) | |
tree | fef911c6400d734ed441e4823538f2401b6ccd59 | |
parent | db5b2b4ef67f45cc37357585920c48898a97be1c (diff) | |
parent | b07d8dc30b27b30ae2047052f1911bdbf16793eb (diff) | |
download | pry-592818e6fdc2e9546ca3ed84fbbd48a38bf80304.tar.gz |
Merge pull request #2237 from andrehjr/fix-spec-cannot-call-pry-inside-trap
As readline is being lazy required it throws an error when it gets resolved inside the trap signal
-rw-r--r-- | spec/pry_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/pry_spec.rb b/spec/pry_spec.rb index a1bf9669..892b437d 100644 --- a/spec/pry_spec.rb +++ b/spec/pry_spec.rb @@ -208,6 +208,7 @@ describe Pry do end it "should return with error message" do + expect(mock_pry('1 + 1')).to eql("=> 2\n") Process.kill("USR1", Process.pid) expect(@str_output).to match(/Unable to obtain mutex lock/) end |