Presubmit: Fix bad file path in help text

Also, manually break line to keep it less than 80 columns wide.

Bug: none
Change-Id: Iaf0118283d33e4f286b2c91996b84825afb8bda6
Notry: true
Reviewed-on: https://webrtc-review.googlesource.com/61780
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22426}
This commit is contained in:
Karl Wiberg
2018-03-14 15:08:39 +01:00
committed by Commit Bot
parent 31791e7e2c
commit ebd01e8660

View File

@ -424,8 +424,9 @@ def CheckNoStreamUsageIsAdded(input_api, output_api,
'#include <sstream> // no-presubmit-check TODO(webrtc:8982)\n' '#include <sstream> // no-presubmit-check TODO(webrtc:8982)\n'
'std::ostream& F() { // no-presubmit-check TODO(webrtc:8982)\n' 'std::ostream& F() { // no-presubmit-check TODO(webrtc:8982)\n'
'\n' '\n'
'If you are adding new code, please consider using ' 'If you are adding new code, consider using '
'rtc::SimpleStringBuilder (rtc_base/string/string_builder.h).\n' 'rtc::SimpleStringBuilder\n'
'(in rtc_base/strings/string_builder.h).\n'
'Affected files:\n') 'Affected files:\n')
errors = [] # 2-element tuples with (file, line number) errors = [] # 2-element tuples with (file, line number)
include_re = input_api.re.compile(r'#include <(i|o|s)stream>') include_re = input_api.re.compile(r'#include <(i|o|s)stream>')