From 1485cb0ff66dba95015d4451d812124b9ab27170 Mon Sep 17 00:00:00 2001 From: Martin Petersson Date: Wed, 18 May 2011 10:29:25 +0200 Subject: tst_q3dns: update test to follow RFC-5952. QHostAddress::toString() was updated to follow RFC-5952. Reviewed-by: Markus Goetz --- tests/auto/q3dns/tst_q3dns.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/q3dns/tst_q3dns.cpp b/tests/auto/q3dns/tst_q3dns.cpp index b97a604..7d633ef 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); } -- cgit v0.12