From 49008ccd3516e4a82e52dfda40d3d2150f09b9ed Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Thu, 1 Sep 2016 12:50:39 +0900 Subject: fix test ; operator<<() always output 0x + hexadecimal --- test/bls_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/bls_test.cpp b/test/bls_test.cpp index ed63f96..e9ff953 100644 --- a/test/bls_test.cpp +++ b/test/bls_test.cpp @@ -44,8 +44,8 @@ CYBOZU_TEST_AUTO(id) const uint64_t id1[] = { 1, 2, 3, 4 }; id.set(id1); std::ostringstream os; - os << std::hex << id; - CYBOZU_TEST_EQUAL(os.str(), "4000000000000000300000000000000020000000000000001"); + os << id; + CYBOZU_TEST_EQUAL(os.str(), "0x4000000000000000300000000000000020000000000000001"); } { /* -- cgit v1.2.3