Sign in
fuchsia
/
third_party
/
protobuf
/
refs/heads/master-backup-d74e6b6
/
.
/
test
/
custom_options.cc
blob: 8d283b9dde07c40c009066ac099e30254ca0b242 [
file
] [
log
] [
blame
] [
edit
]
#include
"gtest/gtest.h"
#include
"third_party/protobuf/test/custom_options.pb.h"
namespace
{
TEST
(
CustomOptions
,
MessageOption
)
{
EXPECT_EQ
(
"Hello world!"
,
MyMessage
::
descriptor
()->
options
().
GetExtension
(
my_option
));
}
}
// namespace