diff options
author | Adam Moss <moss@lindenlab.com> | 2009-10-08 14:15:59 +0000 |
---|---|---|
committer | Adam Moss <moss@lindenlab.com> | 2009-10-08 14:15:59 +0000 |
commit | a1c239b4b6c13c11071964660adc907c61f90e30 (patch) | |
tree | 3bacb1c3ed2d0ee59ddce9e0e544e4bd2473e16a | |
parent | 9665d7a71bcd5cd79889b2b4908beaf66b76341d (diff) |
DEV-41080 expand the test case for LLStringUtil::containsNonprintable()
-rw-r--r-- | indra/llcommon/tests/llstring_test.cpp | 4 |
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<> |