summaryrefslogtreecommitdiff
path: root/indra/llprimitive
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-05 07:35:03 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-05 07:35:03 +0000
commit197c78fa4bf372d09b315b1bad3cf6649627eb48 (patch)
treed49217ad4a9b10fa907cfbefeba1453042b66f9a /indra/llprimitive
parent05e15ccb82541494bf7145652140de187d838cda (diff)
parent367fda833cb5633564c2518f613a00484eb73ec5 (diff)
merge from viewer2 trunk.
Diffstat (limited to 'indra/llprimitive')
-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: ";