From 6140d27c56a93566c38daf18eef2123b4d02099f Mon Sep 17 00:00:00 2001 From: Dylan Thacker-Smith Date: Fri, 19 Feb 2021 13:49:39 -0500 Subject: [PATCH] Add tests for text immediately following liquid tag --- test/integration/tags/inline_comment_test.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/integration/tags/inline_comment_test.rb b/test/integration/tags/inline_comment_test.rb index 9f4859f12..55db2273d 100644 --- a/test/integration/tags/inline_comment_test.rb +++ b/test/integration/tags/inline_comment_test.rb @@ -19,4 +19,9 @@ def test_inside_liquid_tag LIQUID assert_template_result('before()after', source) end + + def test_no_space_after_hash_symbol + assert_template_result('', '{% #immediate text %}') + assert_template_result('', '{% liquid #immediate text %}') + end end