aboutsummaryrefslogtreecommitdiffstats
path: root/test/bls_test.cpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2016-09-01 11:50:39 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2016-09-01 11:50:39 +0800
commit49008ccd3516e4a82e52dfda40d3d2150f09b9ed (patch)
treedcea0c322785ab587397b50b7857352119cee355 /test/bls_test.cpp
parent380cbb6531504c74b99bc7c76060d757d68426dc (diff)
downloaddexon-bls-49008ccd3516e4a82e52dfda40d3d2150f09b9ed.tar
dexon-bls-49008ccd3516e4a82e52dfda40d3d2150f09b9ed.tar.gz
dexon-bls-49008ccd3516e4a82e52dfda40d3d2150f09b9ed.tar.bz2
dexon-bls-49008ccd3516e4a82e52dfda40d3d2150f09b9ed.tar.lz
dexon-bls-49008ccd3516e4a82e52dfda40d3d2150f09b9ed.tar.xz
dexon-bls-49008ccd3516e4a82e52dfda40d3d2150f09b9ed.tar.zst
dexon-bls-49008ccd3516e4a82e52dfda40d3d2150f09b9ed.zip
fix test ; operator<<() always output 0x + hexadecimal
Diffstat (limited to 'test/bls_test.cpp')
-rw-r--r--test/bls_test.cpp4
1 files 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");
}
{
/*