forked from OSchip/llvm-project
[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:
parent
c3aed0d395
commit
e21b0ba8c9
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue