diff options
author | Martin Petersson <martin.petersson@nokia.com> | 2011-05-18 08:29:25 (GMT) |
---|---|---|
committer | Martin Petersson <martin.petersson@nokia.com> | 2011-05-18 08:35:43 (GMT) |
commit | 1485cb0ff66dba95015d4451d812124b9ab27170 (patch) | |
tree | 31210ae6e6a2ec850734f48040d5cf78a0c0bd28 | |
parent | 91bf24d44690a643d7cb74ab594da949b9e51e1b (diff) | |
download | Qt-1485cb0ff66dba95015d4451d812124b9ab27170.zip Qt-1485cb0ff66dba95015d4451d812124b9ab27170.tar.gz Qt-1485cb0ff66dba95015d4451d812124b9ab27170.tar.bz2 |
tst_q3dns: update test to follow RFC-5952.
QHostAddress::toString() was updated to follow RFC-5952.
Reviewed-by: Markus Goetz
-rw-r--r-- | tests/auto/q3dns/tst_q3dns.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |