Fix swapped messages in _CheckUniquePtr
_CheckUniquePtr consistes of two checks -- one related to nullptr, one related to make_unique. The error messages are currently swapped by accident. This CL fixes that and adds a check for that. It also removes some confusing "java/src" subpaths from the mock file paths in the check. Those got in via copy&paste and are confusing, while not relevant for what the test is testing. Bug: 827961 Change-Id: Iaf3272cfc5fe0a641feaee861ad17fe71505800b Reviewed-on: https://chromium-review.googlesource.com/999604Reviewed-by:Dirk Pranke <dpranke@chromium.org> Commit-Queue: Vaclav Brozek <vabr@chromium.org> Cr-Commit-Position: refs/heads/master@{#548807}
Showing
Please register or sign in to comment