summaryrefslogtreecommitdiff
path: root/cpp/src/tests/DeliveryRecordTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/tests/DeliveryRecordTest.cpp')
-rw-r--r--cpp/src/tests/DeliveryRecordTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/DeliveryRecordTest.cpp b/cpp/src/tests/DeliveryRecordTest.cpp
index 47c7157749..8ff7ad3584 100644
--- a/cpp/src/tests/DeliveryRecordTest.cpp
+++ b/cpp/src/tests/DeliveryRecordTest.cpp
@@ -53,7 +53,7 @@ QPID_AUTO_TEST_CASE(testSort)
SequenceNumber expected(0);
for (list<DeliveryRecord>::iterator i = records.begin(); i != records.end(); i++) {
- BOOST_CHECK(i->matches(++expected));
+ BOOST_CHECK(i->getId() == ++expected);
}
}