Skip to content

Commit

Permalink
fix(tests): update custom error tests
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Feb 12, 2022
1 parent 4863e94 commit 58165c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-cliff-core/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ mod test {
#[test]
fn throw_parse_error() {
let actual_error = mock_function().unwrap_err();
let expected_error_kind = ErrorKind::InvalidFormat;
let expected_error_kind = ErrorKind::MissingType;
match actual_error {
Error::ParseError(e) => {
assert_eq!(expected_error_kind, e.kind());
Expand Down

0 comments on commit 58165c7

Please sign in to comment.