rouge8 / neotest-rust

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

Fix mod path when both mod file and mod dir exist #68

Closed Frederick888 closed 8 months ago

Frederick888 commented 8 months ago

When both src/parent.rs and src/parent/ exist, construct_mod_path can be called with construct_mod_path('src/parent.rs', 'child'). In this case it should return src/parent/child.rs instead of nil.

Closes #60

Frederick888 commented 8 months ago

Please add a test

Done 👌

rouge8 commented 8 months ago

Thanks!