|
|
|
@ -148,7 +148,6 @@ TEST_F(CppGeneratorTest, LegacyClosedEnumImplicit) { |
|
|
|
|
"Field Foo.bar has a closed enum type with implicit presence."); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#ifdef PROTOBUF_FUTURE_REMOVE_WRONG_CTYPE |
|
|
|
|
TEST_F(CppGeneratorTest, CtypeOnNoneStringFieldTest) { |
|
|
|
|
CreateTempFile("foo.proto", |
|
|
|
|
R"schema( |
|
|
|
@ -181,7 +180,6 @@ TEST_F(CppGeneratorTest, CtypeOnExtensionTest) { |
|
|
|
|
"Extension bar specifies ctype=CORD which is " |
|
|
|
|
"not supported for extensions."); |
|
|
|
|
} |
|
|
|
|
#endif // !PROTOBUF_FUTURE_REMOVE_WRONG_CTYPE
|
|
|
|
|
} // namespace
|
|
|
|
|
} // namespace cpp
|
|
|
|
|
} // namespace compiler
|
|
|
|
|