Sha256: f237543c48341caf38c0f1ab0b3804c4e1eb46f656bc3497239d6b0a5d5f8395
Contents?: true
Size: 328 Bytes
Versions: 7
Compression:
Stored size: 328 Bytes
Contents
require 'test_helper' class BlockTest < Minitest::Test include Liquid def test_unexpected_end_tag exc = assert_raises(SyntaxError) do Template.parse("{% if true %}{% endunless %}") end assert_equal exc.message, "Liquid syntax error: 'endunless' is not a valid delimiter for if tags. use endif" end end
Version data entries
7 entries across 7 versions & 3 rubygems