Browse Source

IfaceMgr.getIface test improved (will provide more details if fails)

Tomek Mrugalski 13 years ago
parent
commit
6117a5805e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/dhcp6/tests/iface_mgr_unittest.cc

+ 1 - 1
src/bin/dhcp6/tests/iface_mgr_unittest.cc

@@ -105,7 +105,7 @@ TEST_F(IfaceMgrTest, getIface) {
     EXPECT_EQ(1, tmp->ifindex_);
 
     // check that non-existing interfaces are not returned
-    EXPECT_TRUE(ifacemgr->getIface("wifi0") == NULL );
+    EXPECT_EQ(static_cast<void*>(NULL), ifacemgr->getIface("wifi0") );
 
     delete ifacemgr;
 }