From 40699b96633e125846672c4639f04a05eb237712 Mon Sep 17 00:00:00 2001 From: AndreyL ProductEngine Date: Tue, 15 Dec 2015 01:17:26 +0200 Subject: MAINT-5498 LLUrlEntry regex refactoring Improved LLUrlEntryHTTP, extended a test --- indra/llui/tests/llurlentry_test.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'indra/llui/tests') diff --git a/indra/llui/tests/llurlentry_test.cpp b/indra/llui/tests/llurlentry_test.cpp index dde54c78c4..d41930a492 100755 --- a/indra/llui/tests/llurlentry_test.cpp +++ b/indra/llui/tests/llurlentry_test.cpp @@ -232,6 +232,14 @@ namespace tut testRegex("http url with newlines", url, "XX\nhttp://www.secondlife.com/\nXX", "http://www.secondlife.com/"); + + testRegex("http url without tld shouldn't be decorated (1)", url, + "http://test", + ""); + + testRegex("http url without tld shouldn't be decorated (2)", url, + "http://test .com", + ""); } template<> template<> -- cgit v1.2.3