Skip to content

Commit

Permalink
Make test-lookup independent of prior commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Aug 31, 2022
1 parent 708288f commit 4b7fc6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/index/changes_between_commits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fn addition() -> crate::Result {

#[test]
fn deletion() -> crate::Result {
let changes = changes(index_ro()?, "@~327")?;
let changes = changes(index_ro()?, "@~^{/Updating crate `git-shell#0.3.0`}~1")?;
assert_eq!(changes.len(), 1);
assert_eq!(changes.first().and_then(|c| c.deleted()), Some("girl"));
Ok(())
Expand Down

0 comments on commit 4b7fc6e

Please sign in to comment.