[ADT] Add trailing comma on TYPED_TEST_SUITE

This avoids a -pedantic warning:
warning: ISO C++11 requires at least one argument for the "..." in a variadic macro

See also https://github.com/google/googletest/issues/2271

Reviewed By: arames, bkramer

Differential Revision: https://reviews.llvm.org/D110283
This commit is contained in:
Alexandre Rames 2021-09-25 18:02:55 -07:00
parent c3aed0d395
commit e21b0ba8c9
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ using IntegralTypes = testing::Types<uint8_t, // 0
>;
template <class T> class StrongIntTest : public testing::Test {};
TYPED_TEST_SUITE(StrongIntTest, IntegralTypes);
TYPED_TEST_SUITE(StrongIntTest, IntegralTypes, );
TYPED_TEST(StrongIntTest, Operations) {
using T = TypeParam;
auto Max = std::numeric_limits<T>::max();