Skip to content

Commit 33cbd1d

Browse files
committed
Use .zero?
1 parent 47d7387 commit 33cbd1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/guard/rspec/rspec_process.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def error_and_examples_not_run?
2828
_parse_summary(results.summary)
2929

3030
!all_green? && \
31-
example_count == 0 && failure_count == 0 && pending_count == 0
31+
example_count.zero? && failure_count.zero? && pending_count.zero?
3232
end
3333

3434
private

0 commit comments

Comments
 (0)