diff options
| author | Nat Goodspeed <nat@lindenlab.com> | 2016-12-16 19:05:59 -0500 | 
|---|---|---|
| committer | Nat Goodspeed <nat@lindenlab.com> | 2016-12-16 19:05:59 -0500 | 
| commit | a4b0159d5710200b6284cce545f35c73505537e1 (patch) | |
| tree | a83165b38ff8973ebc2ba8917d41755122bdde49 | |
| parent | 93268cb47a69b8432068c0922feedc01c96ae975 (diff) | |
DRTVWR-418: Adjust HttpStatus::toHex() test for 64-bit result.
| -rw-r--r-- | indra/llcorehttp/tests/test_httpstatus.hpp | 6 | 
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  } | 
