From 4d26337501ce519ee089a3cf9320ad3cf24a5607 Mon Sep 17 00:00:00 2001 From: Marcin Siodelski Date: Wed, 18 Mar 2015 23:42:14 +0100 Subject: [PATCH] [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. --- src/bin/dhcp6/tests/dhcp6_srv_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2