Skip to content

Commit

Permalink
Add tests for text immediately following liquid tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanahsmith committed Feb 19, 2021
1 parent defbb3f commit 6140d27
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/integration/tags/inline_comment_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6140d27

Please sign in to comment.