Permalink
Browse files

Fix weird newline issue

Signed-off-by: Sam Phippen <samphippen@googlemail.com>
  • Loading branch information...
samphippen committed Mar 25, 2013
1 parent 81a5b2c commit 56d7c0a4ea6a9cb27b6c4ab7515f3ddba6a6e1b6
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/rspec/core/backtrace_cleaner.rb
@@ -18,8 +18,7 @@ def initialize(inclusion_patterns=nil, exclusion_patterns=DEFAULT_EXCLUSION_PATT
@exclusion_patterns = exclusion_patterns
if inclusion_patterns.nil?
- @inclusion_patterns = (matches_an_exclusion_pattern? Dir.getwd) ? [Regexp.new(Dir.getwd)]
- : []
+ @inclusion_patterns = (matches_an_exclusion_pattern? Dir.getwd) ? [Regexp.new(Dir.getwd)] : []
else
@inclusion_patterns = inclusion_patterns
end

0 comments on commit 56d7c0a

Please sign in to comment.