mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
Remove misleading unit test (thank you, @EvilGenius13)
This commit is contained in:
committed by
Guilherme Carreiro
parent
b439d0da53
commit
ae8a0a86ac
@@ -75,16 +75,6 @@ class DocTagUnitTest < Minitest::Test
|
||||
assert_template_result('', template)
|
||||
end
|
||||
|
||||
def test_doc_tag_ignores_nested_doc_tags
|
||||
template = <<~LIQUID.chomp
|
||||
{% doc %}
|
||||
{% assign a = 123 {% doc %}
|
||||
{% enddoc %}
|
||||
LIQUID
|
||||
|
||||
assert_template_result('', template)
|
||||
end
|
||||
|
||||
def test_doc_tag_does_not_allow_nested_docs
|
||||
error = assert_raises(Liquid::SyntaxError) do
|
||||
template = <<~LIQUID.chomp
|
||||
|
||||
Reference in New Issue
Block a user