From a4b0159d5710200b6284cce545f35c73505537e1 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Fri, 16 Dec 2016 19:05:59 -0500 Subject: DRTVWR-418: Adjust HttpStatus::toHex() test for 64-bit result. --- indra/llcorehttp/tests/test_httpstatus.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 } -- cgit v1.2.3