Specify the propagation of exception messages from fork isolation
This commit is contained in:
parent
f700f67977
commit
c25f51c02f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue