dbrgn / tracing-test

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

Not working in Edition 2021 #10

Closed jerusdp closed 3 years ago

jerusdp commented 3 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 3 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 3 years ago

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

No issue here.