forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check parameter types in FilterSourceFile() mock
Parameters |white_list| and |black_list| in FilterSourceFile() should be iterables, and it's fairly easy to wrongly pass a string instead. This checking caught _CheckCrbugLinksHaveHttps in unit tests. Bug: 869103 Change-Id: I1cd6d62c3fa2b1500d9d7b6b35794f40e35378af Reviewed-on: https://chromium-review.googlesource.com/1155379 Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org> Reviewed-by: Dirk Pranke <dpranke@chromium.org> Cr-Commit-Position: refs/heads/master@{#579288}
- Loading branch information
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters