summaryrefslogtreecommitdiff
path: root/indra/llcommon/tests
diff options
context:
space:
mode:
authorAdam Moss <moss@lindenlab.com>2009-10-08 14:15:59 +0000
committerAdam Moss <moss@lindenlab.com>2009-10-08 14:15:59 +0000
commita1c239b4b6c13c11071964660adc907c61f90e30 (patch)
tree3bacb1c3ed2d0ee59ddce9e0e544e4bd2473e16a /indra/llcommon/tests
parent9665d7a71bcd5cd79889b2b4908beaf66b76341d (diff)
DEV-41080 expand the test case for LLStringUtil::containsNonprintable()
Diffstat (limited to 'indra/llcommon/tests')
-rw-r--r--indra/llcommon/tests/llstring_test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcommon/tests/llstring_test.cpp b/indra/llcommon/tests/llstring_test.cpp
index 1f4603631a..6a2ebc61f5 100644
--- a/indra/llcommon/tests/llstring_test.cpp
+++ b/indra/llcommon/tests/llstring_test.cpp
@@ -223,6 +223,10 @@ namespace tut
str_val = "\r\n\t\t";
LLStringUtil::stripNonprintable(str_val);
ensure_equals("stripNonprintable resulting in empty string failed", str_val, "");
+
+ str_val = "";
+ LLStringUtil::stripNonprintable(str_val);
+ ensure_equals("stripNonprintable of empty string resulting in empty string failed", str_val, "");
}
template<> template<>