summaryrefslogtreecommitdiff
path: root/indra/llprimitive/tests
diff options
context:
space:
mode:
authorRick Pasetto <rick@lindenlab.com>2010-02-01 15:24:38 -0800
committerRick Pasetto <rick@lindenlab.com>2010-02-01 15:24:38 -0800
commit6294d4f7bf809de91c910ff56391bcf9fa78b124 (patch)
tree88263e5ff7a467fccdcac7516297e60b810926f1 /indra/llprimitive/tests
parenta8f42e51903bfc35dc56c4dc5f050d1570110634 (diff)
Use "standard" llsd::equals
Diffstat (limited to 'indra/llprimitive/tests')
-rw-r--r--indra/llprimitive/tests/llmediaentry_test.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/llprimitive/tests/llmediaentry_test.cpp b/indra/llprimitive/tests/llmediaentry_test.cpp
index 277e370ca4..88cd96ebe4 100644
--- a/indra/llprimitive/tests/llmediaentry_test.cpp
+++ b/indra/llprimitive/tests/llmediaentry_test.cpp
@@ -157,14 +157,9 @@ namespace
namespace tut
{
- bool llsd_equals(const LLSD& a, const LLSD& b) {
- // cheesy, brute force, but it works
- return std::string(ll_pretty_print_sd(a)) == std::string(ll_pretty_print_sd(b));
- }
-
void ensure_llsd_equals(const std::string& msg, const LLSD& expected, const LLSD& actual)
{
- if (!tut::llsd_equals(expected, actual))
+ if (!llsd_equals(expected, actual))
{
std::string message = msg;
message += ": actual: ";