jameslittle230 / stork

🔎 Impossibly fast web search, made for static sites.
https://stork-search.net
Apache License 2.0
2.73k stars 56 forks source link

Test failure in pretty_print_search_results #338

Open kiufta opened 1 year ago

kiufta commented 1 year ago

Rust 1.66.1, llvm 15.0.7, git master of stork

---- pretty_print_search_results::tests::display_pretty_search_results_given_output stdout ----
thread 'pretty_print_search_results::tests::display_pretty_search_results_given_output' panicked at 'assertion failed: `(left == right)`

Diff < left / right > :
<"\u{1b}[1;32mSome Document Title\u{1b}[0m\n<https://example.com>\n    - This is the excerpt of the text\n\n21 total results available"
>"\u{1b}[1;32mSome Document Title\u{1b}[0m\n<https://example.com>\n    - \u{1b}[33mT\u{1b}[0mhis is the excerpt of the text\n\n21 total results available"

', stork-cli/src/pretty_print_search_results.rs:92:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace