diff options
| author | Michael Howell <michael@notriddle.com> | 2023-11-29 10:54:49 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-11-29 11:02:56 -0700 |
| commit | 930cba8061dca5988a58b4e74774489e1b129184 (patch) | |
| tree | 5345a7613db10b3357b54731f67650723f5fd697 /tests/rustdoc-js-std/parser-weird-queries.js | |
| parent | 93f17117ed50a972bfabea86762241cd9ac5ccbd (diff) | |
| download | rust-930cba8061dca5988a58b4e74774489e1b129184.tar.gz rust-930cba8061dca5988a58b4e74774489e1b129184.zip | |
rustdoc-search: replace TAB/NL/LF with SP first
This way, most of the parsing code doesn't need to be designed to handle it, since they should always be treated exactly the same anyhow.
Diffstat (limited to 'tests/rustdoc-js-std/parser-weird-queries.js')
| -rw-r--r-- | tests/rustdoc-js-std/parser-weird-queries.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-js-std/parser-weird-queries.js b/tests/rustdoc-js-std/parser-weird-queries.js index 720ef66c165..ba68c9717c5 100644 --- a/tests/rustdoc-js-std/parser-weird-queries.js +++ b/tests/rustdoc-js-std/parser-weird-queries.js @@ -92,9 +92,9 @@ const PARSED = [ query: 'mod\t:', elems: [], foundElems: 0, - original: 'mod\t:', + original: 'mod :', returned: [], - userQuery: 'mod\t:', + userQuery: 'mod :', error: "Unexpected `:` (expected path after type filter `mod:`)", }, ]; |
