From a8769beea461bb8b0eba4a5db77280b39cd8ca46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Tue, 30 Jun 1998 22:58:27 +0200
Subject: [PATCH] Added test.

Rev: src/modules/spider/testsuite.in:1.4
---
 src/modules/spider/testsuite.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/spider/testsuite.in b/src/modules/spider/testsuite.in
index e439650782..4a9d803103 100644
--- a/src/modules/spider/testsuite.in
+++ b/src/modules/spider/testsuite.in
@@ -64,6 +64,7 @@ test_eq([[parse_html("f<bar>o", ([ "bar":lambda(){return 0;} ]), ([]))]], "f<bar
 test_eq([[parse_html("f<\nbar\rt\"a b\"=\no>o", ([ "bar":lambda(string s, mapping(string:string) attr){return attr["ta b"];} ]), ([]))]], "foo")
 test_eq([[parse_html("f<bar>g</bar>o", ([]), ([ "bar":lambda(){return "o";}]))]], "foo")
 test_eq([[parse_html("f<\nbar\rt\"a b\"=\no>g<\n/bar\r>o", ([]), ([ "bar":lambda(string s, mapping(string:string) attr, string g){return g=="g"?attr["ta b"]:"-";}]))]], "foo")
+test_eq([[parse_html("f<bar><foo>o</foo>o", (["bar":lambda(string s, mapping(string:string) attr) { return ""; }]), ([]))]], "f<foo>o</foo>o")
 dnl real_perror
 dnl openlog
 dnl syslog
-- 
GitLab