Browse Source

[5093] Put the right comparison according to its comment

Francis Dupont 8 years ago
parent
commit
19f02b83f7
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

@@ -276,7 +276,7 @@ TEST_F(Dhcpv6SrvTest, DUID) {
     case DUID::DUID_LLT: {
         // DUID must contain at least 6 bytes long MAC
         // + 8 bytes of fixed header
-        EXPECT_GE(14, len);
+        EXPECT_GE(len, 14);
 
         uint16_t hw_type = data.readUint16();
         // there's no real way to find out "correct"