From: Peter van Dijk Date: Thu, 11 Feb 2021 22:30:19 +0000 (+0100) Subject: test-dnsrecords: improve error message X-Git-Tag: rec-4.5.0-beta1~34^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a5741ac64f5d0a1e752a8b77c071bb5fa601d1d;p=thirdparty%2Fpdns.git test-dnsrecords: improve error message --- diff --git a/pdns/test-dnsrecords_cc.cc b/pdns/test-dnsrecords_cc.cc index 2f0c990b28..44dfb81809 100644 --- a/pdns/test-dnsrecords_cc.cc +++ b/pdns/test-dnsrecords_cc.cc @@ -251,7 +251,7 @@ BOOST_AUTO_TEST_CASE(test_record_types) { const broken_marker broken = val.get<4>(); if (lq != q.getCode()) n = 0; - BOOST_CHECK_MESSAGE(q.getCode() >= lq, "record types should be sorted such that " << q.getCode() << " >= " << lq); + BOOST_CHECK_MESSAGE(q.getCode() >= lq, "record types should be sorted such that qtype " << q.getCode() << " is before " << lq); lq = q.getCode(); n++; BOOST_TEST_CHECKPOINT("Checking record type " << q.getName() << " test #" << n);