Internal change

PiperOrigin-RevId: 589249653
pull/15012/head
Mike Kruskal 1 year ago committed by Copybara-Service
parent a17c248775
commit 15a0d5b599
  1. 1
      src/google/protobuf/compiler/parser_unittest.cc
  2. 1
      src/google/protobuf/descriptor.cc

@ -118,6 +118,7 @@ class ParserTest : public testing::Test {
// We don't cover SourceCodeInfo in these tests.
actual.clear_source_code_info();
// Parse the ASCII representation in order to canonicalize it. We could
// just compare directly to actual.DebugString(), but that would require
// that the caller precisely match the formatting that DebugString()

@ -2739,6 +2739,7 @@ FileDescriptor::FileDescriptor() {}
void FileDescriptor::CopyTo(FileDescriptorProto* proto) const {
CopyHeadingTo(proto);
for (int i = 0; i < dependency_count(); i++) {
proto->add_dependency(dependency(i)->name());
}

Loading…
Cancel
Save