summaryrefslogtreecommitdiff
path: root/test/ares-test-parse-soa.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/ares-test-parse-soa.cc')
-rw-r--r--test/ares-test-parse-soa.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ares-test-parse-soa.cc b/test/ares-test-parse-soa.cc
index c0ffaae..afa4b7a 100644
--- a/test/ares-test-parse-soa.cc
+++ b/test/ares-test-parse-soa.cc
@@ -50,7 +50,7 @@ TEST_F(LibraryTest, ParseSoaReplyErrors) {
pkt.questions_.clear();
pkt.add_question(new DNSQuestion("Axample.com", ns_t_soa));
data = pkt.data();
- EXPECT_EQ(ARES_EBADRESP, ares_parse_soa_reply(data.data(), data.size(), &soa));
+ EXPECT_EQ(ARES_ENODATA, ares_parse_soa_reply(data.data(), data.size(), &soa));
pkt.questions_.clear();
pkt.add_question(new DNSQuestion("example.com", ns_t_soa));
#endif