diff options
| author | Nat Goodspeed <nat@lindenlab.com> | 2012-02-16 21:10:06 -0500 | 
|---|---|---|
| committer | Nat Goodspeed <nat@lindenlab.com> | 2012-02-16 21:10:06 -0500 | 
| commit | f52cf4be7003f18813da31b25d204f10eb36db17 (patch) | |
| tree | c6b73c4d1c4085099c965cf8ed8ebc957ca1081f | |
| parent | d6ed77a598a0009d386ce3cd6c49d0f1c4b422e8 (diff) | |
Fix typos in a few LLProcess::ReadPipe::find() unit tests.
The typos didn't make for invalid tests, but they made a few tests redundant
while leaving other (subtly different) cases untested.
| -rw-r--r-- | indra/llcommon/tests/llprocess_test.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/indra/llcommon/tests/llprocess_test.cpp b/indra/llcommon/tests/llprocess_test.cpp index e5d873c8ee..c67605cc0b 100644 --- a/indra/llcommon/tests/llprocess_test.cpp +++ b/indra/llcommon/tests/llprocess_test.cpp @@ -1179,16 +1179,16 @@ namespace tut          ensure("contains(\":\")", ! childout.contains(":"));          ensure("contains(':')",   ! childout.contains(':'));          ensure("contains(\"d\")", childout.contains("d")); -        ensure("contains('d')",   childout.contains("d")); +        ensure("contains('d')",   childout.contains('d'));          ensure("contains(\"klm\")", childout.contains("klm"));          ensure("contains(\"klx\")", ! childout.contains("klx"));          // find()          ensure("find(\":\")", childout.find(":") == LLProcess::ReadPipe::npos);          ensure("find(':')",   childout.find(':') == LLProcess::ReadPipe::npos);          ensure_equals("find(\"d\")", childout.find("d"), 3); -        ensure_equals("find('d')",   childout.find("d"), 3); +        ensure_equals("find('d')",   childout.find('d'), 3);          ensure_equals("find(\"d\", 3)", childout.find("d", 3), 3); -        ensure_equals("find('d', 3)",   childout.find("d", 3), 3); +        ensure_equals("find('d', 3)",   childout.find('d', 3), 3);          ensure("find(\"d\", 4)", childout.find("d", 4) == LLProcess::ReadPipe::npos);          ensure("find('d', 4)",   childout.find('d', 4) == LLProcess::ReadPipe::npos);          // The case of offset == end and offset > end are different. In the | 
