From 6ddfaec3f9f8ae5a6340b5e3da7127a50da8ff8c 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 9f4859f..55db227 100644 --- a/test/integration/tags/inline_comment_test.rb +++ b/test/integration/tags/inline_comment_test.rb @@ -19,4 +19,9 @@ class InlineCommentTest < Minitest::Test 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