diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-10-22 11:09:56 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-10-22 11:09:56 (GMT) |
commit | 077a1cf938d007874c2915b5fd703d4776bb25cd (patch) | |
tree | 373cd135f8ab3846af01b5f30c581378ca7c05a9 /Swiften/QA/NetworkTest | |
parent | 5b22db817bfc84db5ce1956ec1cb4a6d9f98e35b (diff) | |
download | swift-077a1cf938d007874c2915b5fd703d4776bb25cd.zip swift-077a1cf938d007874c2915b5fd703d4776bb25cd.tar.bz2 |
Fix failing tests
Diffstat (limited to 'Swiften/QA/NetworkTest')
-rw-r--r-- | Swiften/QA/NetworkTest/DomainNameResolverTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/QA/NetworkTest/DomainNameResolverTest.cpp b/Swiften/QA/NetworkTest/DomainNameResolverTest.cpp index cd3c3e1..309e617 100644 --- a/Swiften/QA/NetworkTest/DomainNameResolverTest.cpp +++ b/Swiften/QA/NetworkTest/DomainNameResolverTest.cpp @@ -79,7 +79,7 @@ class DomainNameResolverTest : public CppUnit::TestFixture { waitForResults(); CPPUNIT_ASSERT(!addressQueryError); - CPPUNIT_ASSERT_EQUAL(std::string("0000:0000:0000:0000:0000:ffff:0a00:0104"), addressQueryResult[0].toString()); + CPPUNIT_ASSERT_EQUAL(std::string("::ffff:10.0.1.4"), addressQueryResult[0].toString()); } void testResolveAddress_IPv4and6() { @@ -91,7 +91,7 @@ class DomainNameResolverTest : public CppUnit::TestFixture { CPPUNIT_ASSERT(!addressQueryError); CPPUNIT_ASSERT_EQUAL(2, static_cast<int>(addressQueryResult.size())); CPPUNIT_ASSERT_EQUAL(std::string("10.0.0.7"), addressQueryResult[0].toString()); - CPPUNIT_ASSERT_EQUAL(std::string("1234:5678:9abc:def0:0fed:cba9:8765:4321"), addressQueryResult[1].toString()); + CPPUNIT_ASSERT_EQUAL(std::string("1234:5678:9abc:def0:fed:cba9:8765:4321"), addressQueryResult[1].toString()); } void testResolveAddress_International() { |