Remove misleading unit test (thank you, @EvilGenius13)

This commit is contained in:
Guilherme Carreiro
2025-02-20 12:37:09 +01:00
committed by Guilherme Carreiro
parent b439d0da53
commit ae8a0a86ac
-10
View File
@@ -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