From: Marcin Siodelski Date: Wed, 18 Mar 2015 22:42:14 +0000 (+0100) Subject: [master] Use equality operator for comparing vector in the dhcp6_srv test. X-Git-Tag: kea-0.9.1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d26337501ce519ee089a3cf9320ad3cf24a5607;p=thirdparty%2Fkea.git [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. --- diff --git a/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc b/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc index 01f9057328..32a144c348 100644 --- a/src/bin/dhcp6/tests/dhcp6_srv_unittest.cc +++ b/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 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