Note: cargo instead of cargo test supports that argument
before this PR
$ cargo pretty-test --version
Error from cargo-pretty-test:
"" should contain `running (?P<amount>\d+) tests?` pattern
Error from cargo test:
error: unexpected argument '--version' found
tip: a similar argument exists: '--verbose'
Usage: cargo test --verbose... [TESTNAME] [-- [args]...]
For more information, try '--help'.
Note:
cargo
instead ofcargo test
supports that argumentbefore this PR
after this PR
ref https://github.com/josecelano/cargo-pretty-test/issues/23