Browse Source

[master] Use equality operator for comparing vector in the dhcp6_srv test.

Committing on my own discretion as it is followup to the previous commit
that was reviewed.
Marcin Siodelski 10 years ago
parent
commit
4d26337501
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/dhcp6/tests/dhcp6_srv_unittest.cc

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

@@ -2274,7 +2274,7 @@ TEST_F(Dhcpv6SrvTest, rsoo2relays) {
     // match the content of what the first relay had sent.
     ASSERT_TRUE(opt120);
     vector<uint8_t> expected(10, 1);
-    EXPECT_EQ(expected, opt120->getData());
+    EXPECT_TRUE(expected == opt120->getData());
 }
 
 // This test verifies that the server will send the option for which it