Skip to content

Commit 43f65de

Browse files
committed
more apply rubocop
1 parent d1edb07 commit 43f65de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration_dtcluster/plugin_dt_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def try_get_log(nonce)
9797
body = JSON.parse(res.body)
9898
results = body['results']
9999

100-
return false if results.length.zero?
100+
return false if results.empty?
101101

102102
assert_equal(results[0]['content'], nonce)
103103
true

0 commit comments

Comments
 (0)