summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Luis Leal Cardoso Junior <andrehjr@gmail.com>2022-03-09 00:16:28 -0300
committerAndré Luis Leal Cardoso Junior <andrehjr@gmail.com>2022-03-09 00:16:28 -0300
commitb07d8dc30b27b30ae2047052f1911bdbf16793eb (patch)
treef704dc8a7bb980df78a305c4a1a2141e25a10baf
parent3db124158ed892dee6189b3323283a54a5a7ee54 (diff)
downloadpry-b07d8dc30b27b30ae2047052f1911bdbf16793eb.tar.gz
As readline is being lazy required it throws an error when it gets resolved inside the trap signal
-rw-r--r--spec/pry_spec.rb1
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