Stop using assert_template_result in some tests depending on language extension (#1622)

This commit is contained in:
Dylan Thacker-Smith
2022-09-14 17:03:48 -04:00
committed by GitHub
parent cab08cfe57
commit ff1c35b986
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ class BlankTest < Minitest::Test
def test_new_tags_are_not_blank_by_default
with_custom_tag('foobar', FoobarTag) do
assert_template_result(" " * N, wrap_in_for("{% foobar %}"))
assert_equal(" " * N, Liquid::Template.parse(wrap_in_for("{% foobar %}")).render!)
end
end