Fixed sort ordering and updated test to output context information.

pull/8499/head
Joshua Haberman 4 years ago
parent 64a7d647f9
commit 1dcea0f02d
  1. 2
      BUILD
  2. 2
      build_files_updated_unittest.sh

@ -368,8 +368,8 @@ cc_library(
"src/google/protobuf/compiler/cpp/cpp_map_field.cc", "src/google/protobuf/compiler/cpp/cpp_map_field.cc",
"src/google/protobuf/compiler/cpp/cpp_message.cc", "src/google/protobuf/compiler/cpp/cpp_message.cc",
"src/google/protobuf/compiler/cpp/cpp_message_field.cc", "src/google/protobuf/compiler/cpp/cpp_message_field.cc",
"src/google/protobuf/compiler/cpp/cpp_parse_function_generator.cc",
"src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc", "src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc",
"src/google/protobuf/compiler/cpp/cpp_parse_function_generator.cc",
"src/google/protobuf/compiler/cpp/cpp_primitive_field.cc", "src/google/protobuf/compiler/cpp/cpp_primitive_field.cc",
"src/google/protobuf/compiler/cpp/cpp_service.cc", "src/google/protobuf/compiler/cpp/cpp_service.cc",
"src/google/protobuf/compiler/cpp/cpp_string_field.cc", "src/google/protobuf/compiler/cpp/cpp_string_field.cc",

@ -58,5 +58,5 @@ bash "${test_dir}/update_file_lists.sh"
# Test whether there are any differences # Test whether there are any differences
for file in ${generated_files[@]}; do for file in ${generated_files[@]}; do
diff "${golden_dir}/${file}" "${test_dir}/${file}" diff -du "${golden_dir}/${file}" "${test_dir}/${file}"
done done

Loading…
Cancel
Save