findepi commented on issue #11270: URL: https://github.com/apache/datafusion/issues/11270#issuecomment-2231390487
I agree @Omega359 this looks more like RustRover issue. It seems that RR has some limitations under which they are working (https://github.com/intellij-rust/intellij-rust/pull/3848). At the same time, confusion about what's expected and what's actual isn't helping anyone (but this only matters when a test fails). I came across an assertions library for Rust: https://github.com/google/assertor. I like single easy entry point they have (`assert_that!`), with code completion for the assertions themselves. They also attempt to provide useful err messages. For example `assert_that!(vec![2, 4, 6]).contains_exactly(vec![2, 5, 6]);` prints ``` assertion failed: datafusion/core/src/myfile.rs:88:9 missing (1) : [5] unexpected (1): [4] ``` Does anyone have experiences with it in a larger code base? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org