mirror of
https://github.com/TangentFoxy/lua-htmlparser.git
synced 2025-07-28 02:52:19 +00:00
update tests to reflect issue #42
This commit is contained in:
@@ -287,3 +287,10 @@ function test_tagnames_with_hyphens()
|
|||||||
assert_equal("tag-name", tree("#9999")[1].name, "#9999")
|
assert_equal("tag-name", tree("#9999")[1].name, "#9999")
|
||||||
assert_equal("m", tree("#10000")[1].name, "#10000")
|
assert_equal("m", tree("#10000")[1].name, "#10000")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function test_loop_limit()
|
||||||
|
local tree = htmlparser.parse([[
|
||||||
|
<div data-pic="aa<%=image_url%>bb" ></div>
|
||||||
|
]]) -- issue#42
|
||||||
|
assert(1==1)
|
||||||
|
end
|
||||||
|
Reference in New Issue
Block a user