update tests to reflect issue #42

This commit is contained in:
Vadim A. Misbakh-Soloviov 2017-04-09 02:49:58 +07:00
parent c9639054d4
commit 06da2e960e
No known key found for this signature in database
GPG Key ID: 26503D349B3B334B

View File

@ -287,3 +287,10 @@ function test_tagnames_with_hyphens()
assert_equal("tag-name", tree("#9999")[1].name, "#9999")
assert_equal("m", tree("#10000")[1].name, "#10000")
end
function test_loop_limit()
local tree = htmlparser.parse([[
<div data-pic="aa<%=image_url%>bb" ></div>
]]) -- issue#42
assert(1==1)
end