summaryrefslogtreecommitdiff
path: root/test/BtNotInterestedMessageTest.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-08-09 14:54:36 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-08-09 14:54:36 +0000
commit729d5666786f93be78272250fbc6053534813c44 (patch)
treec7f1e89bbb1b0e44f6582e98496cbac3d785cc37 /test/BtNotInterestedMessageTest.cc
parent645e66ea1157e5019e0957453e3e4a26847f7e85 (diff)
Fixed typo: threw -> thrown
Diffstat (limited to 'test/BtNotInterestedMessageTest.cc')
-rw-r--r--test/BtNotInterestedMessageTest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/BtNotInterestedMessageTest.cc b/test/BtNotInterestedMessageTest.cc
index 636280c2..abf75eea 100644
--- a/test/BtNotInterestedMessageTest.cc
+++ b/test/BtNotInterestedMessageTest.cc
@@ -40,7 +40,7 @@ void BtNotInterestedMessageTest::testCreate() {
unsigned char msg[6];
PeerMessageUtil::createPeerMessageString(msg, sizeof(msg), 2, 3);
BtNotInterestedMessage::create(&msg[4], 2);
- CPPUNIT_FAIL("exception must be threw.");
+ CPPUNIT_FAIL("exception must be thrown.");
} catch(...) {
}
// case: id is wrong
@@ -48,7 +48,7 @@ void BtNotInterestedMessageTest::testCreate() {
unsigned char msg[5];
PeerMessageUtil::createPeerMessageString(msg, sizeof(msg), 1, 4);
BtNotInterestedMessage::create(&msg[4], 1);
- CPPUNIT_FAIL("exception must be threw.");
+ CPPUNIT_FAIL("exception must be thrown.");
} catch(...) {
}
}