From ae8a0a86acea9c5ad1312347d33c984c7a62cd48 Mon Sep 17 00:00:00 2001 From: Guilherme Carreiro Date: Wed, 22 Jan 2025 16:15:06 +0100 Subject: [PATCH] Remove misleading unit test (thank you, @EvilGenius13) --- test/unit/tags/doc_tag_unit_test.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/unit/tags/doc_tag_unit_test.rb b/test/unit/tags/doc_tag_unit_test.rb index 5ad81744..d277ef05 100644 --- a/test/unit/tags/doc_tag_unit_test.rb +++ b/test/unit/tags/doc_tag_unit_test.rb @@ -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