Add test for spaces in square brackets

This commit is contained in:
Justin Li
2014-10-22 15:47:12 -04:00
parent a206c8301d
commit 5153ad1a78
+3
View File
@@ -6,6 +6,9 @@ class VariableUnitTest < Minitest::Test
def test_variable
var = Variable.new('hello')
assert_equal VariableLookup.new('hello'), var.name
var = Variable.new('hello[goodbye ]')
assert_equal VariableLookup.new('hello[goodbye]'), var.name
end
def test_filters