summaryrefslogtreecommitdiffstats
path: root/tests/auto/q3dns
diff options
context:
space:
mode:
authorMartin Petersson <martin.petersson@nokia.com>2011-05-18 10:29:25 +0200
committerMartin Petersson <martin.petersson@nokia.com>2011-05-18 10:35:43 +0200
commit1485cb0ff66dba95015d4451d812124b9ab27170 (patch)
tree31210ae6e6a2ec850734f48040d5cf78a0c0bd28 /tests/auto/q3dns
parent91bf24d44690a643d7cb74ab594da949b9e51e1b (diff)
tst_q3dns: update test to follow RFC-5952.
QHostAddress::toString() was updated to follow RFC-5952. Reviewed-by: Markus Goetz
Diffstat (limited to 'tests/auto/q3dns')
-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);
}