mirror of
https://github.com/kemko/liquid.git
synced 2026-01-03 00:35:40 +03:00
Compare commits
1 Commits
render-for
...
allow-whit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5153ad1a78 |
@@ -6,6 +6,9 @@ class VariableUnitTest < Minitest::Test
|
|||||||
def test_variable
|
def test_variable
|
||||||
var = Variable.new('hello')
|
var = Variable.new('hello')
|
||||||
assert_equal VariableLookup.new('hello'), var.name
|
assert_equal VariableLookup.new('hello'), var.name
|
||||||
|
|
||||||
|
var = Variable.new('hello[goodbye ]')
|
||||||
|
assert_equal VariableLookup.new('hello[goodbye]'), var.name
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_filters
|
def test_filters
|
||||||
|
|||||||
Reference in New Issue
Block a user