mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
Fix simple RuboCop offenses and update TODO file (#1062)
* Fix Layout/EmptyLineAfterMagicComment offense * Fix Layout/ExtraSpacing offense * Fix Layout/ClosingParenthesisIndentation offenses * Fix Style/MutableConstant offense * Fix Style/UnneededInterpolation offenses * Fix Style/RedundantParentheses offenses * Update TODO config for RuboCop * Add executable bit to test/test_helper.rb ref: https://travis-ci.org/Shopify/liquid/jobs/488169512#L578
This commit is contained in:
@@ -24,9 +24,9 @@ class ConditionUnitTest < Minitest::Test
|
||||
assert_evaluates_true 1, '<=', 1
|
||||
# negative numbers
|
||||
assert_evaluates_true 1, '>', -1
|
||||
assert_evaluates_true (-1), '<', 1
|
||||
assert_evaluates_true -1, '<', 1
|
||||
assert_evaluates_true 1.0, '>', -1.0
|
||||
assert_evaluates_true (-1.0), '<', 1.0
|
||||
assert_evaluates_true -1.0, '<', 1.0
|
||||
end
|
||||
|
||||
def test_default_operators_evalute_false
|
||||
|
||||
Reference in New Issue
Block a user