diff options
| author | Vadim Savchuk <vsavchuk@productengine.com> | 2010-02-05 15:12:54 +0200 |
|---|---|---|
| committer | Vadim Savchuk <vsavchuk@productengine.com> | 2010-02-05 15:12:54 +0200 |
| commit | 312f5553aea988a3a795ee45d00be861c1fc3aa9 (patch) | |
| tree | 8676bad1bd1e68e90dfba505da5d2fcf4f3d7d2a /indra/llprimitive | |
| parent | b80c6d68874a11292e7dff59b03b1d0f46fad232 (diff) | |
| parent | 456bbdfa2f3471896f6981e70a9daa56dae51d18 (diff) | |
Merge from default branch
--HG--
branch : product-engine
Diffstat (limited to 'indra/llprimitive')
| -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: "; |
