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
1 changed files with 1 additions and 0 deletions

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