Commit 4d263375 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[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.
parent c87fab72
...@@ -2274,7 +2274,7 @@ TEST_F(Dhcpv6SrvTest, rsoo2relays) { ...@@ -2274,7 +2274,7 @@ TEST_F(Dhcpv6SrvTest, rsoo2relays) {
// match the content of what the first relay had sent. // match the content of what the first relay had sent.
ASSERT_TRUE(opt120); ASSERT_TRUE(opt120);
vector<uint8_t> expected(10, 1); 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 // This test verifies that the server will send the option for which it
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment