Specify the propagation of exception messages from fork isolation

This commit is contained in:
Markus Schirp 2014-12-08 22:58:18 +00:00
parent f700f67977
commit c25f51c02f

View file

@ -40,7 +40,7 @@ RSpec.describe Mutant::Isolation::Fork do
end
it 'wraps exceptions' do
expect { object.call { fail } }.to raise_error(Mutant::Isolation::Error)
expect { object.call { fail } }.to raise_error(Mutant::Isolation::Error, 'marshal data too short')
end
it 'wraps exceptions caused by crashing ruby' do