dbrgn / tracing-test

Access and evaluate tracing logs in async and sync tests.
Apache License 2.0
52 stars 26 forks source link

Not working in Edition 2021 #10

Closed jerusdp closed 2 years ago

jerusdp commented 2 years ago

The tracing-test macro is not working in a project compiled as edition 2021. (Currently Rust beta )

Tests are failing on assert!(log_contains("text"));

threema-danilo commented 2 years ago

Hi, can you create a small reproducer?

If I change the edition for the tracing-test-macro-tests subcrate to 2021 and run the tests on beta, they still pass.

jerusdp commented 2 years ago

Apologies for the false flag - the test was failing for good reason.

No issue here.