mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
Test range of floats
This commit is contained in:
@@ -29,6 +29,7 @@ class ExpressionTest < Minitest::Test
|
||||
def test_range
|
||||
assert_equal(1..2, parse_and_eval("(1..2)"))
|
||||
assert_equal(3..4, parse_and_eval(" ( 3 .. 4 ) "))
|
||||
assert_equal(1..2, parse_and_eval("(1.1..2.2)"))
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user