]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Use equality operator for comparing vector in the dhcp6_srv test.
authorMarcin Siodelski <marcin@isc.org>
Wed, 18 Mar 2015 22:42:14 +0000 (23:42 +0100)
committerMarcin Siodelski <marcin@isc.org>
Wed, 18 Mar 2015 22:42:14 +0000 (23:42 +0100)
Committing on my own discretion as it is followup to the previous commit
that was reviewed.

src/bin/dhcp6/tests/dhcp6_srv_unittest.cc

index 01f90573280d88ed01892d6eb1e129a6cefbd136..32a144c34822d0595e924f643e5e120493339c33 100644 (file)
@@ -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