From 5a84977bf43c48f3f103010354966e80f8aa63a3 Mon Sep 17 00:00:00 2001 From: Dimitry Khokhlov Date: Tue, 7 Jul 2015 16:16:17 +0400 Subject: [PATCH] fix: style --- test/libdevcore/core.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/libdevcore/core.cpp b/test/libdevcore/core.cpp index 696983cf5..e7c7c86a1 100644 --- a/test/libdevcore/core.cpp +++ b/test/libdevcore/core.cpp @@ -30,12 +30,12 @@ BOOST_AUTO_TEST_CASE(byteRef) { cnote << "bytesRef copyTo and toString..."; dev::bytes originalSequence = dev::fromHex("0102030405060708091011121314151617181920212223242526272829303132"); - dev::bytesRef _out(&originalSequence.at(0), 32); - dev::h256 ret("1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"); - ret.ref().copyTo(_out); + dev::bytesRef out(&originalSequence.at(0), 32); + dev::h256 hash32("1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"); + hash32.ref().copyTo(out); - BOOST_CHECK_MESSAGE(_out.size() == 32, "Error wrong result size when h256::ref().copyTo(dev::bytesRef out)"); - BOOST_CHECK_MESSAGE(_out.toBytes() == originalSequence, "Error when h256::ref().copyTo(dev::bytesRef out)"); + BOOST_CHECK_MESSAGE(out.size() == 32, "Error wrong result size when h256::ref().copyTo(dev::bytesRef out)"); + BOOST_CHECK_MESSAGE(out.toBytes() == originalSequence, "Error when h256::ref().copyTo(dev::bytesRef out)"); } BOOST_AUTO_TEST_SUITE_END()