]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
test-dnsrecords: improve error message
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 11 Feb 2021 22:30:19 +0000 (23:30 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 18 Feb 2021 12:24:04 +0000 (13:24 +0100)
pdns/test-dnsrecords_cc.cc

index 2f0c990b28dbda44146ef60e3d8c97e95cda3a01..44dfb8180976a794a9ce7141f0a089fc6b600cae 100644 (file)
@@ -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);