From a1c239b4b6c13c11071964660adc907c61f90e30 Mon Sep 17 00:00:00 2001
From: Adam Moss <moss@lindenlab.com>
Date: Thu, 8 Oct 2009 14:15:59 +0000
Subject: [PATCH] DEV-41080 expand the test case for
 LLStringUtil::containsNonprintable()

---
 indra/llcommon/tests/llstring_test.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/indra/llcommon/tests/llstring_test.cpp b/indra/llcommon/tests/llstring_test.cpp
index 1f4603631a2..6a2ebc61f5d 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<>
-- 
GitLab