summaryrefslogtreecommitdiff
path: root/indra/test
diff options
context:
space:
mode:
authorcallum_linden <none@none>2014-10-22 16:00:31 -0700
committercallum_linden <none@none>2014-10-22 16:00:31 -0700
commite0677352f849088eeba40abe375e591801319215 (patch)
treeb78b50b030d90ac0b32edc80d624230cd7189c6b /indra/test
parent5f004996f27e4cfea6101ddd5c128b0f9adc7ee3 (diff)
parent25dcb53aa229cf980449416bd59e42bd265041d0 (diff)
Merge with head
Diffstat (limited to 'indra/test')
-rwxr-xr-xindra/test/lltut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/test/lltut.cpp b/indra/test/lltut.cpp
index c43a8f0c7d..a183cef9a9 100755
--- a/indra/test/lltut.cpp
+++ b/indra/test/lltut.cpp
@@ -158,8 +158,8 @@ namespace tut
if( actual.find(expectedStart, 0) != 0 )
{
std::stringstream ss;
- ss << msg << ": " << "expected to find " << expectedStart
- << " at start of actual " << actual;
+ ss << msg << ": " << "expected to find '" << expectedStart
+ << "' at start of actual '" << actual << "'";
throw failure(ss.str().c_str());
}
}
@@ -172,8 +172,8 @@ namespace tut
!= (actual.size() - expectedEnd.size()) )
{
std::stringstream ss;
- ss << msg << ": " << "expected to find " << expectedEnd
- << " at end of actual " << actual;
+ ss << msg << ": " << "expected to find '" << expectedEnd
+ << "' at end of actual '" << actual << "'";
throw failure(ss.str().c_str());
}
}
@@ -184,8 +184,8 @@ namespace tut
if( actual.find(expectedSubString, 0) == std::string::npos )
{
std::stringstream ss;
- ss << msg << ": " << "expected to find " << expectedSubString
- << " in actual " << actual;
+ ss << msg << ": " << "expected to find '" << expectedSubString
+ << "' in actual '" << actual << "'";
throw failure(ss.str().c_str());
}
}