commit | 33fe1c30d34463af2e76f3dde2a499e573ea30e6 | [log] [tgz] |
---|---|---|
author | Devlin Cronin <rdevlin.cronin@chromium.org> | Tue Feb 28 02:31:10 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 28 02:31:10 2023 |
tree | fed45c290b003301a76c1b0d7d5ba78b43a4304e | |
parent | 3e041f6ee4f7e5386bfd9dac26d97faca7916f3f [diff] |
[Extensions] Use chrome.test.assertNe in place of assertTrue(x != y) Instead of `chrome.test.assertTrue(x != y)`, use `chrome.test.assertNe(y, x)`. This is more inline with most testing suites, provides better error messages, and helps prevent accidental shallow comparisons. This was a mechanical, non-exhaustive update handled by a find-and- replace followed by review and spot-fixing. Bug: 1417270 Change-Id: I03e66cc4d939e6e68561108e3087efdd29a9a882 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4277081 Reviewed-by: Tim <tjudkins@chromium.org> Commit-Queue: Devlin Cronin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1110716}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.