-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(maitake): properly capture tracing messages (#445)
The "init tracing" test helper returned a guard that the caller is supposed to hold, but none (or not all?) of the tests that called it actually held it. This makes a single return type (because `rustc` was Big Mad when I used `Box<dyn Drop>`) based on the features, and marks it as must use. This change allows for capturing (or viewing) of tracing output during timer wheel tests. Closes #444
- Loading branch information
1 parent
d2694a8
commit cb0de4e
Showing
3 changed files
with
45 additions
and
7 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