commit 3f3f266: [Test] Fix test

Vsevolod Stakhov vsevolod at highsecure.ru
Sat Jul 10 20:07:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-07-10 21:05:27 +0100
URL: https://github.com/rspamd/rspamd/commit/3f3f266d35624c53c2e377b88ddd83a0baaa1b09 (HEAD -> master)

[Test] Fix test

---
 src/libserver/html/html.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libserver/html/html.cxx b/src/libserver/html/html.cxx
index c587ae1df..0f5aefcde 100644
--- a/src/libserver/html/html.cxx
+++ b/src/libserver/html/html.cxx
@@ -1963,7 +1963,7 @@ TEST_CASE("html parsing")
 			{"<p><p><a></p></a></a>",                          "+p;++p;+++a;"},
 			{"<div><a href=\"http://example.com\"></div></a>", "+div;++a;"},
 			{"<html><!DOCTYPE html><body><head><body></body></html></body></html>",
-															   "+html;++xml;++body;+++head;++++body;"}
+															   "+html;++xml;++body;+++head;+++body;"}
 	};
 
 	rspamd_url_init(NULL);


More information about the Commits mailing list