Permalink
Browse files

Use "an_exclude" instead of "a_exclude". Grammar is important.

Signed-off-by: Sam Phippen <samphippen@googlemail.com>
  • Loading branch information...
1 parent 2351e0a commit d20f78b90d93ff635176b155cfa0b99fbdd3e9b2 @samphippen committed Mar 24, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rspec/core/backtrace_cleaner.rb
@@ -11,7 +11,7 @@ def initialize(include_patterns, exclude_patterns)
end
def include?(line)
- matches_an_include_pattern? line or not matches_a_exclude_pattern? line
+ matches_an_include_pattern? line or not matches_an_exclude_pattern? line
end
private
@@ -20,7 +20,7 @@ def matches_an_include_pattern?(line)
@include_patterns.any? {|p| line =~ p}
end
- def matches_a_exclude_pattern?(line)
+ def matches_an_exclude_pattern?(line)
@exclude_patterns.any? {|p| line =~ p}
end
end

0 comments on commit d20f78b

Please sign in to comment.