X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2Fhexdump.test.cc;h=028c73b1936591a95b0b9af86b80471d18d7bd0e;hb=6927c87144ca23845065e3c23e37c75f5f059cf3;hp=7e71797a15ef6fcfe7d40fe08de9b80df159d2b4;hpb=a1a6c76a214ad1935032826713cabaf9ac57bf07;p=senf.git diff --git a/Utils/hexdump.test.cc b/Utils/hexdump.test.cc index 7e71797..028c73b 100644 --- a/Utils/hexdump.test.cc +++ b/Utils/hexdump.test.cc @@ -21,7 +21,7 @@ // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. /** \file - \brief hexdump.test unit tests */ + \brief hexdump unit tests */ //#include "hexdump.test.hh" //#include "hexdump.test.ih" @@ -40,8 +40,8 @@ BOOST_AUTO_UNIT_TEST(hExDuMp) { char data[] = { 0x18, 0x19, 0x20, 0x21, 0x7c, 0x7d, 0x7e, 0x7f }; std::stringstream s; - senf::hexdump(data, data+sizeof(data), s, 8); - BOOST_CHECK_EQUAL( s.str(), " 0000 18 19 20 21 7c 7d 7e 7f .. ! |}..\n" ); + senf::hexdump(data, data+sizeof(data), s, 10); + BOOST_CHECK_EQUAL( s.str(), " 0000 18 19 20 21 7c 7d 7e 7f .. !| }..\n" ); } ///////////////////////////////cc.e////////////////////////////////////////