diff options
author | Mukund Sivaraman <muks@isc.org> | 2014-01-07 06:19:14 +0100 |
---|---|---|
committer | Mukund Sivaraman <muks@isc.org> | 2014-01-07 07:02:31 +0100 |
commit | 7607200420438907d7d3e036a967c20c6b9b3f99 (patch) | |
tree | 9df5d0b82abd80417987b48e3e18c336b52aa744 /src/lib/asiolink/tests/io_address_unittest.cc | |
parent | [1283] Define operator<< for IOAddress (diff) | |
download | kea-7607200420438907d7d3e036a967c20c6b9b3f99.tar.xz kea-7607200420438907d7d3e036a967c20c6b9b3f99.zip |
[1283] Remove toText() calls where IOAddress should be used directly
Diffstat (limited to 'src/lib/asiolink/tests/io_address_unittest.cc')
-rw-r--r-- | src/lib/asiolink/tests/io_address_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/asiolink/tests/io_address_unittest.cc b/src/lib/asiolink/tests/io_address_unittest.cc index eea10e9ef0..5486d5c7af 100644 --- a/src/lib/asiolink/tests/io_address_unittest.cc +++ b/src/lib/asiolink/tests/io_address_unittest.cc @@ -84,7 +84,7 @@ TEST(IOAddressTest, fromBytes) { EXPECT_NO_THROW({ addr = IOAddress::fromBytes(AF_INET, v4); }); - EXPECT_EQ(addr.toText(), IOAddress("192.0.2.3").toText()); + EXPECT_EQ(addr, IOAddress("192.0.2.3")); } TEST(IOAddressTest, toBytesV4) { |