Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikw committed Aug 3, 2024
1 parent 8e0435f commit 12f3676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ fn test_markdown() {
);

let err = cleaner.clear_markdown(&mut parser.parse("<ftp://example.%com>")).unwrap_err();
assert!(matches!(err, Error::UrlSyntax(_)));
assert!(matches!(err[..], [Error::UrlSyntax(_)]));
}

0 comments on commit 12f3676

Please sign in to comment.