Skip to content

Commit

Permalink
fix comment for ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Aug 12, 2024
1 parent 1efd962 commit 79e0aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmtp_mls/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ mod tests {
use tracing_test::traced_test;

// Execute once before any tests are run
#[ctor::ctor]
// Capture traces in a variable that can be checked in tests, as well as outputting them to stdout on test failure
#[traced_test]
#[ctor::ctor]
fn setup() {
// Capture logs (e.g. log::info!()) as traces too
let _ = tracing_log::LogTracer::init_with_filter(LevelFilter::Debug);
Expand Down

0 comments on commit 79e0aa3

Please sign in to comment.