summaryrefslogtreecommitdiff
path: root/indra/llui/tests/llurlentry_test.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2015-12-15 01:17:26 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2015-12-15 01:17:26 +0200
commit40699b96633e125846672c4639f04a05eb237712 (patch)
treeeebbf6d491c494edb80658891eaf37a17f75b198 /indra/llui/tests/llurlentry_test.cpp
parent88e0605ba23b22ff680e7c70364724cf8b4ec6e0 (diff)
MAINT-5498 LLUrlEntry regex refactoring
Improved LLUrlEntryHTTP, extended a test
Diffstat (limited to 'indra/llui/tests/llurlentry_test.cpp')
-rwxr-xr-xindra/llui/tests/llurlentry_test.cpp8
1 files changed, 8 insertions, 0 deletions
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<>