Skip to content

Commit

Permalink
Allow clang type names in extend test to be smaller.
Browse files Browse the repository at this point in the history
  • Loading branch information
helly25 committed Mar 24, 2024
1 parent 51418d1 commit 4607180
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mbo/types/extend_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@ TEST_F(ExtendTest, StreamableComplexFields) {
R"({25, {{"Hugo", "Meyer"}, 42}, *{{"bar", "foo"}}})"));
#ifdef __clang__
std::cout << "Person:\n";
EXPECT_THAT(debug::Print(&person, HasFailure()), 621);
EXPECT_THAT(debug::Print(&person, HasFailure()), Le(621));
std::cout << "Person::person.name:\n";
EXPECT_THAT(debug::Print(&person.person.name, HasFailure()), 603);
EXPECT_THAT(debug::Print(&person.person.name, HasFailure()), Le(603));
#endif // __clang__
}

Expand Down

0 comments on commit 4607180

Please sign in to comment.