From ec04fdc8edf7cb181ea3c664e88dd642fbc38d2b Mon Sep 17 00:00:00 2001 From: Pascal Keilbach <28002199+pkeilbach@users.noreply.github.com> Date: Thu, 16 Nov 2023 15:21:03 +0100 Subject: [PATCH] Add test case when http is a word (#34) Co-authored-by: Pascal Keilbach --- tests/htwgnlp/test_preprocessing.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/htwgnlp/test_preprocessing.py b/tests/htwgnlp/test_preprocessing.py index d66916b..913a1f0 100644 --- a/tests/htwgnlp/test_preprocessing.py +++ b/tests/htwgnlp/test_preprocessing.py @@ -39,6 +39,10 @@ "URLs like this one: http://example.com and https://another.com", "URLs like this one: and ", ), + ( + "URLs with the http-protocol like this one: http://example.com and http://another.com", + "URLs with the http-protocol like this one: and ", + ), ("https://example.com/with/path?query=1", ""), ], )