mirror of
https://github.com/msva/lua-htmlparser.git
synced 2024-11-27 12:44:22 +00:00
update tests to reflect issue #42
This commit is contained in:
parent
c9639054d4
commit
06da2e960e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user