From 06da2e960ec97334cc924b67f0f036f2911bfce4 Mon Sep 17 00:00:00 2001 From: "Vadim A. Misbakh-Soloviov" Date: Sun, 9 Apr 2017 02:49:58 +0700 Subject: [PATCH] update tests to reflect issue #42 --- tst/init.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tst/init.lua b/tst/init.lua index 534ed8c..a3e1b44 100644 --- a/tst/init.lua +++ b/tst/init.lua @@ -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([[ +
+ ]]) -- issue#42 + assert(1==1) +end