summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-12-16 19:05:59 -0500
committerNat Goodspeed <nat@lindenlab.com>2016-12-16 19:05:59 -0500
commita4b0159d5710200b6284cce545f35c73505537e1 (patch)
treea83165b38ff8973ebc2ba8917d41755122bdde49
parent93268cb47a69b8432068c0922feedc01c96ae975 (diff)
DRTVWR-418: Adjust HttpStatus::toHex() test for 64-bit result.
-rw-r--r--indra/llcorehttp/tests/test_httpstatus.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llcorehttp/tests/test_httpstatus.hpp b/indra/llcorehttp/tests/test_httpstatus.hpp
index 4502d32fe1..10cda799e7 100644
--- a/indra/llcorehttp/tests/test_httpstatus.hpp
+++ b/indra/llcorehttp/tests/test_httpstatus.hpp
@@ -244,7 +244,11 @@ void HttpStatusTestObjectType::test<7>()
HttpStatus status(404);
std::string msg = status.toHex();
// std::cout << "Result: " << msg << std::endl;
- ensure(msg == "01940001");
+#if ADDRESS_SIZE == 32
+ ensure_equals(msg, "01940001");
+#else
+ ensure_equals(msg, "19400000001");
+#endif
}