From c25f51c02ffd4e972a9fc4a7d4b12ccb5e9525f7 Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Mon, 8 Dec 2014 22:58:18 +0000 Subject: [PATCH] Specify the propagation of exception messages from fork isolation --- spec/unit/mutant/isolation_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/mutant/isolation_spec.rb b/spec/unit/mutant/isolation_spec.rb index e3fe5839..f4a4eb14 100644 --- a/spec/unit/mutant/isolation_spec.rb +++ b/spec/unit/mutant/isolation_spec.rb @@ -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