Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tools/check_format_test_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def checkFileExpectingOK(filename):
errors += fixFileExpectingSuccess("header_order.cc")
errors += fixFileExpectingSuccess("license.BUILD")
errors += fixFileExpectingSuccess("bad_envoy_build_sys_ref.BUILD")
errors += fixFileExpectingSuccess("proto_format.proto")
errors += fixFileExpectingFailure("no_namespace_envoy.cc",
"Unable to find Envoy namespace or NOLINT(namespace-envoy)")
errors += fixFileExpectingFailure("mutex.cc",
Expand Down Expand Up @@ -161,6 +162,8 @@ def checkFileExpectingOK(filename):
errors += checkFileExpectingError("license.BUILD", "envoy_build_fixer check failed")
errors += checkFileExpectingError("bad_envoy_build_sys_ref.BUILD",
"Superfluous '@envoy//' prefix")
errors += checkFileExpectingError("proto_format.proto", "clang-format check failed")

errors += checkFileExpectingOK("ok_file.cc")

errors += fixFileExpectingFailure("proto.BUILD",
Expand Down
1 change: 1 addition & 0 deletions tools/testdata/check_format/proto_format.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// This commment is too long for the line-limit built into our clang configuration, so it will need to be wrapped.
2 changes: 2 additions & 0 deletions tools/testdata/check_format/proto_format.proto.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// This commment is too long for the line-limit built into our clang
// configuration, so it will need to be wrapped.