Skip to content

Commit

Permalink
Another attempt to improve coverage of errors.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Oct 22, 2023
1 parent 9de8b95 commit e264b6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/errors/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ fn examine_report(
) {
println!("{}", error);
println!("{:?}", error);
println!("{:?}", error.source());
println!("{}", error.code().unwrap());
// Convert to report
let report: miette::Report = error.into();
println!("{}", report);
Expand Down

0 comments on commit e264b6b

Please sign in to comment.