1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

As readline is being lazy required it throws an error when it gets resolved inside the trap signal

This commit is contained in:
André Luis Leal Cardoso Junior 2022-03-09 00:16:28 -03:00
parent 3db124158e
commit b07d8dc30b

View file

@ -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