We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filters such as
insta::with_settings!({ filters => vec![ (r"\d+(ms|s)", "[TIME]"), ] }, { assert_cmd_snapshot!(Command::new(get_cargo_bin(BIN_NAME)) .arg("compile") .arg("input.txt") });
currently require a Vec:
Vec
insta/src/filters.rs
Lines 12 to 20 in 324cd71
insta::with_settings!({ filters => INSTA_FILTERS }, { assert_cmd_snapshot!(Command::new(get_cargo_bin(BIN_NAME)) .arg("compile") .arg("input.txt") });
The text was updated successfully, but these errors were encountered:
There is a PR open for it, but I haven't had the courage yet to make the change. #400
Sorry, something went wrong.
Closed by 1d70238
No branches or pull requests
Filters such as
currently require a
Vec
:insta/src/filters.rs
Lines 12 to 20 in 324cd71
Could this requirement be lifted to allow slices or any iterable? I'd like to use e.g.
The text was updated successfully, but these errors were encountered: