summaryrefslogtreecommitdiff
path: root/indra/llui/tests/llurlentry_test.cpp
diff options
context:
space:
mode:
authorPalmer <palmer@lindenlab.com>2010-01-29 15:05:28 -0800
committerPalmer <palmer@lindenlab.com>2010-01-29 15:05:28 -0800
commitbdb8ed5a0f70f8a7bf868448ef45e32e5beb8bdb (patch)
treef56bc9b202f49f1ab631524684b7db41ae571f80 /indra/llui/tests/llurlentry_test.cpp
parentc504c40a754a79baf0e4b1d1c10ca44197d577df (diff)
parent0bb7a85d06e7201887962000cb3e91bf456ffa09 (diff)
merge
Diffstat (limited to 'indra/llui/tests/llurlentry_test.cpp')
-rw-r--r--indra/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 80be8fcbf7..6fec1d3e10 100644
--- a/indra/llui/tests/llurlentry_test.cpp
+++ b/indra/llui/tests/llurlentry_test.cpp
@@ -610,5 +610,13 @@ namespace tut
testRegex("invalid .net URL", r,
"foo.netty",
"");
+
+ testRegex("XML tags around URL [1]", r,
+ "<foo>secondlife.com</foo>",
+ "secondlife.com");
+
+ testRegex("XML tags around URL [2]", r,
+ "<foo>secondlife.com/status?bar=1</foo>",
+ "secondlife.com/status?bar=1");
}
}