summaryrefslogtreecommitdiff
path: root/t/test-rubocop.rb
diff options
context:
space:
mode:
Diffstat (limited to 't/test-rubocop.rb')
-rwxr-xr-xt/test-rubocop.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test-rubocop.rb b/t/test-rubocop.rb
index 57457b7..cb597e8 100755
--- a/t/test-rubocop.rb
+++ b/t/test-rubocop.rb
@@ -20,7 +20,7 @@ class TestRubocop < Test::Unit::TestCase
cli = RuboCop::CLI.new
result = cli.run
- assert(result == 0, 'No errors found')
+ assert(result.zero?, 'No errors found')
rescue LoadError => ex
if methods.include?(:skip)