Skip to content

Commit

Permalink
Update crates (#128)
Browse files Browse the repository at this point in the history
* Update crates

* Show filename in assertion text
  • Loading branch information
Jake-Shadle authored Jul 20, 2024
1 parent b095f5b commit 6bd2eb5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
37 changes: 18 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/linux_minidump_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,8 +528,8 @@ contextual_test! {
let descriptor = fds.handles.get(i).expect("Descriptor should be present");
let object_name = descriptor.object_name.as_ref().expect("The path should be populated");
let file_name = object_name.split('/').last().expect("The filename should be present");
assert!(file_name.starts_with("test_file"));
assert!(file_name.ends_with(&(i - 3).to_string()));
assert!(file_name.starts_with("test_file"), "unexpected filename '{file_name}'");
assert!(file_name.ends_with(&(i - 3).to_string()), "unexpected filename '{file_name}'");
}
}
}
Expand Down

0 comments on commit 6bd2eb5

Please sign in to comment.