Merge branch 'master' of git://github.com/EmmanuelOga/liquid into EmmanuelOga/master

This commit is contained in:
Tobias Lütke
2008-11-02 10:04:01 -08:00
2 changed files with 15 additions and 1 deletions
+12
View File
@@ -18,6 +18,17 @@ class ParsingQuirksTest < Test::Unit::TestCase
end
end
def test_raise_on_label_and_no_close_bracets
assert_raise(SyntaxError) do
Template.parse("TEST {{ ")
end
end
def test_raise_on_label_and_no_close_bracets_percent
assert_raise(SyntaxError) do
Template.parse("TEST {% ")
end
end
def test_error_on_empty_filter
assert_nothing_raised do
@@ -26,4 +37,5 @@ class ParsingQuirksTest < Test::Unit::TestCase
Template.parse("{{|test|}}")
end
end
end