Skip to content

Commit

Permalink
Use assert_eq! for better output
Browse files Browse the repository at this point in the history
  • Loading branch information
magurotuna committed Mar 20, 2021
1 parent 7a23eb5 commit efd030c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/formatting/imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ mod test {
}

fn eat(&mut self, c: char) {
assert!(self.input.next().unwrap() == c);
assert_eq!(self.input.next().unwrap(), c);
}

fn push_segment(
Expand Down

0 comments on commit efd030c

Please sign in to comment.