Skip to content

Commit

Permalink
iox-eclipse-iceoryx#1142 Fix service description tests
Browse files Browse the repository at this point in the history
Signed-off-by: Marika Lehmann <[email protected]>
  • Loading branch information
FerdinandSpitzschnueffler committed Feb 28, 2022
1 parent 190350b commit 671df12
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ TEST(iox_service_description_test, StringSizesAreCorrect)
{
::testing::Test::RecordProperty("TEST_ID", "f32a6d19-9ff7-4913-a1d8-39d46267b114");
EXPECT_THAT(sizeof(decltype(std::declval<iox_service_description_t>().serviceString)),
Eq(iox::capro::IdString_t().capacity()));
Eq(iox::capro::IdString_t().capacity() + 1U));
EXPECT_THAT(sizeof(decltype(std::declval<iox_service_description_t>().instanceString)),
Eq(iox::capro::IdString_t().capacity()));
Eq(iox::capro::IdString_t().capacity() + 1U));
EXPECT_THAT(sizeof(decltype(std::declval<iox_service_description_t>().eventString)),
Eq(iox::capro::IdString_t().capacity()));
Eq(iox::capro::IdString_t().capacity() + 1U));
}

} // namespace

0 comments on commit 671df12

Please sign in to comment.