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.
Restructure test macro to be rustfmt-friendly
The Mojo Rust library uses a macro to declare its tests to add initialization code at the beginning. However, the macro did not work with rustfmt: the code inside was not formatted. This replaces it with a macro that rustfmt can process. Bug: 1274864 Change-Id: Ia83cabc755d05ff35bb69566e749267b81310b26 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4295199 Reviewed-by: danakj <danakj@chromium.org> Commit-Queue: Collin Baker <collinbaker@chromium.org> Cr-Commit-Position: refs/heads/main@{#1110598}
- Loading branch information
Showing
7 changed files
with
716 additions
and
662 deletions.
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
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
Oops, something went wrong.