mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03: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