diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-02-04 14:43:29 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-02-04 14:43:29 -0500 |
commit | a93eb24e39458576475482b50ee0016fc4df50f9 (patch) | |
tree | b9f5287712f154215695c5152f3d24c391ca2ae7 /indra/llprimitive/tests | |
parent | c58e152236abfc1c414eb6c64783334ca9555b58 (diff) | |
parent | fed6c9eb0fa58559c13729b65ecee181f58f3c69 (diff) |
automated merge viewer2.0->viewer2.0
Diffstat (limited to 'indra/llprimitive/tests')
-rw-r--r-- | indra/llprimitive/tests/llmediaentry_test.cpp | 7 |
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: "; |