lib/goodcheck/commands/test.rb in goodcheck-1.6.0 vs lib/goodcheck/commands/test.rb in goodcheck-1.7.0

- old
+ new

@@ -91,9 +91,10 @@ end def rule_matches_example?(rule, example) buffer = Buffer.new(path: Pathname("-"), content: example) analyzer = Analyzer.new(rule: rule, buffer: buffer) + analyzer.use_all_patterns! analyzer.scan.count > 0 end end end end