rouge8 / neotest-rust

Neotest adapter for Rust, using cargo-nextest.
MIT License
91 stars 27 forks source link

Match test functions with flexible macro order #30

Closed morgsmccauley closed 1 year ago

morgsmccauley commented 1 year ago

Previously, the query was only able to match test functions if the desired macros were placed immediately before the function definition, without any other macros in between. The updated query now correctly matches test functions that have the target macro attribute, regardless of the order of other macros.

Closes #29

morgsmccauley commented 1 year ago

Done!

rouge8 commented 1 year ago

Oops, spoke too soon. If you get a chance to fix the build that’d be great, otherwise I’ll try to do it before or after work today.

rouge8 commented 1 year ago

Oh nevermind, I was not very awake then... It was just CI flakiness 😩

morgsmccauley commented 1 year ago

Thanks @rouge8!