diff --git a/common/util/forward_test.cc b/common/util/forward_test.cc index cbd880028..2e6f56841 100644 --- a/common/util/forward_test.cc +++ b/common/util/forward_test.cc @@ -46,7 +46,8 @@ TEST(ForwardReferenceElseConstructTest, ForwardReferenceConst) { TEST(ForwardReferenceElseConstructTest, Construct) { const TestClassA a; const auto& ref = ForwardReferenceElseConstruct()(a); - static_assert(!std::is_same::value); + static_assert(!std::is_same::value, + "!std::is_same::value"); } TEST(ForwardReferenceElseConstructTest, ForwardStringView) { @@ -58,7 +59,8 @@ TEST(ForwardReferenceElseConstructTest, ForwardStringView) { TEST(ForwardReferenceElseConstructTest, ConstructString) { const absl::string_view a("hello"); const auto& ref = ForwardReferenceElseConstruct()(a); - static_assert(!std::is_same::value); + static_assert(!std::is_same::value, + "!std::is_same::value"); } TEST(ForwardReferenceElseConstructTest, ForwardString) { @@ -70,7 +72,8 @@ TEST(ForwardReferenceElseConstructTest, ForwardString) { TEST(ForwardReferenceElseConstructTest, ConstructStringView) { const std::string a("hello"); const auto& ref = ForwardReferenceElseConstruct()(a); - static_assert(!std::is_same::value); + static_assert(!std::is_same::value, + "!std::is_same::value"); } } // namespace