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(-) (limited to 'tests/auto/q3dns') 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); } -- cgit v1.2.3