Skip to content
New issue

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

Add track_callers to asserts #133

Closed
epage opened this issue Sep 6, 2021 · 0 comments · Fixed by #134
Closed

Add track_callers to asserts #133

epage opened this issue Sep 6, 2021 · 0 comments · Fixed by #134
Labels
enhancement Improve the expected

Comments

@epage
Copy link
Contributor

epage commented Sep 6, 2021

This will provide more useful panic information, by default

See https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1460-2020-08-27

@epage epage added the enhancement Improve the expected label Sep 6, 2021
epage added a commit to epage/assert_cmd that referenced this issue Sep 6, 2021
Thanks to Rust 1.46, we can show the caller on panic, rather than
`assert_cmd`, as if `assert_cmd` was written with macros.

Fixes assert-rs#133
@epage epage closed this as completed in #134 Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve the expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant