summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/q3dns/tst_q3dns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/q3dns/tst_q3dns.cpp b/tests/auto/q3dns/tst_q3dns.cpp
index b97a60479c..7d633efc62 100644
--- a/tests/auto/q3dns/tst_q3dns.cpp
+++ b/tests/auto/q3dns/tst_q3dns.cpp
@@ -144,7 +144,7 @@ void tst_Q3Dns::literals()
QCOMPARE((int) ip6literal1.addresses().count(), 0);
Q3Dns ip6literal2("::1", Q3Dns::Aaaa);
- QCOMPARE(ip6literal2.addresses().first().toString(), QString("0:0:0:0:0:0:0:1"));
+ QCOMPARE(ip6literal2.addresses().first().toString(), QString("::1"));
QCOMPARE((int) ip6literal2.addresses().count(), 1);
}