summaryrefslogtreecommitdiff
path: root/spec/support/shared/matchers/exit_with_code.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/shared/matchers/exit_with_code.rb')
-rw-r--r--spec/support/shared/matchers/exit_with_code.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared/matchers/exit_with_code.rb b/spec/support/shared/matchers/exit_with_code.rb
index cf1825f2ed..c5458eea0e 100644
--- a/spec/support/shared/matchers/exit_with_code.rb
+++ b/spec/support/shared/matchers/exit_with_code.rb
@@ -14,7 +14,7 @@ RSpec::Matchers.define :exit_with_code do |exp_code|
failure_message do |block|
"expected block to call exit(#{exp_code}) but exit" +
- (actual.nil? ? " not called" : "(#{actual}) was called")
+ (actual.nil? ? " not called" : "(#{actual}) was called")
end
failure_message_when_negated do |block|