Project: mesos
Issue MESOS-2944: Use of EXPECT in test and relying on the checked condition afterwards.
In docker_containerizer_test we have the following pattern. {code} EXPECT_NE(0u, offers.get().size()); const Offer& offer = offers.get()[0]; {code} As we rely on the value afterwards we should use ASSERT_NE instead. In that case the test will fail immediately.
Story points: 1