Assert that result of migration can be strictly parsed

This commit is contained in:
Dylan Thacker-Smith
2022-11-17 09:53:11 -05:00
parent 106ca1bd69
commit 12f11876dd
+1 -1
View File
@@ -116,7 +116,7 @@ class MigrateUnitTest < Minitest::Test
message = "source: #{source.inspect}"
assert_equal(expect, Liquid::Template.migrate(source), message)
assert_no_migration(expect)
assert_equal(Liquid::Template.parse(expect).render!, Liquid::Template.parse(source).render!, message)
assert_equal(Liquid::Template.parse(expect, parse_mode: :strict).render!, Liquid::Template.parse(source).render!, message)
end
end
end