Skip to content

Commit

Permalink
fix most of the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Nov 8, 2022
1 parent 5573529 commit 276e726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index/diff/delegate.rs
Expand Up @@ -75,7 +75,7 @@ impl Delegate {
.iter()
.map(|&line| input.interner[line])
.peekable();
match (lines_before.peek().is_some(), lines_after.next().is_some()) {
match (lines_before.peek().is_some(), lines_after.peek().is_some()) {
(true, false) => {
for removed in lines_before {
match version_from_json_line(removed.as_bstr(), location) {
Expand Down

0 comments on commit 276e726

Please sign in to comment.