diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-01-05 16:01:46 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-01-05 16:01:46 +0000 |
| commit | 4db349c1f32b4a313d12d114137432441633d00a (patch) | |
| tree | 417451971e264834312cfd8339c79930d680a5d1 /test/PieceTest.cc | |
| parent | 338e8aca09331d3e7fa4e1e8e1f9d10260986772 (diff) | |
2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Untabify. Fixed one line in copyright which is longer than 80
columns.
* src
* test
Diffstat (limited to 'test/PieceTest.cc')
| -rw-r--r-- | test/PieceTest.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/PieceTest.cc b/test/PieceTest.cc index 0efaa2bc..f30b9784 100644 --- a/test/PieceTest.cc +++ b/test/PieceTest.cc @@ -70,19 +70,19 @@ void PieceTest::testUpdateHash() std::string spam("SPAM!"); CPPUNIT_ASSERT(p.updateHash - (0, reinterpret_cast<const unsigned char*>(spam.c_str()), - spam.size())); + (0, reinterpret_cast<const unsigned char*>(spam.c_str()), + spam.size())); CPPUNIT_ASSERT(!p.isHashCalculated()); std::string spamspam("SPAM!SPAM!!"); CPPUNIT_ASSERT(p.updateHash - (spam.size(), - reinterpret_cast<const unsigned char*>(spamspam.c_str()), - spamspam.size())); + (spam.size(), + reinterpret_cast<const unsigned char*>(spamspam.c_str()), + spamspam.size())); CPPUNIT_ASSERT(p.isHashCalculated()); CPPUNIT_ASSERT_EQUAL(std::string("d9189aff79e075a2e60271b9556a710dc1bc7de7"), - p.getHashString()); + p.getHashString()); } #endif // ENABLE_MESSAGE_DIGEST |
