Put test 'args' at the end of the test command

For test commands, there can be arguments passed to the test binary like `-- --ignored` or `--
--test-threads=1`. For these cases to work properly, the `args` parameter needs to be added to the
end of the 'test' command.
This commit is contained in:
Aditya Manthramurthy
2024-11-03 16:24:56 -08:00
committed by Dave Rolsky
parent 294bb6a7fe
commit 9e709706e7
4 changed files with 24 additions and 2 deletions

View File

@@ -8,4 +8,10 @@ mod test {
fn test_something() {
assert_eq!(1, 1);
}
#[test]
#[ignore]
fn test_something_ignored() {
assert_eq!(2, 2);
}
}