deltachat / message-parser

Parsing of Links, Email adresses, simple text formatting (markdown subset), user mentions, hashtags and more in DeltaChat messages.
https://deltachat.github.io/message-parser/
Other
12 stars 2 forks source link

Test for ipv6 http link fails on master #55

Closed Simon-Laux closed 1 year ago

Simon-Laux commented 1 year ago
thread 'text_to_ast::text_only::link' panicked at 'assertion failed: `(left == right)`
  left: `[Text("http://[2001:0db8:85a3:08d3::0370:7344]:8080/")]`,
 right: `[Link { destination: LinkDestination { target: "http://[2001:0db8:85a3:08d3::0370:7344]:8080/", hostname: Some("[2001:0db8:85a3:08d3::0370:7344]"), punycode: None, scheme: "http" } }]`', tests/text_to_ast/text_only.rs:318:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace