about summary refs log tree commit diff
path: root/src/librustdoc/html/highlight/fixtures
AgeCommit message (Collapse)AuthorLines
2021-10-04Make rustdoc not highlight `->` and `=>` as operatorsMichael Howell-4/+4
It was marking them up as `<span class="op">=</span><span class="op">&gt;</span>`, which is bloaty and wrong.
2021-08-06Add test for union keyword highlightingGuillaume Gomez-0/+16
2021-08-05Fix invalid generation of HTML in highlightGuillaume Gomez-0/+4
2021-08-05Update rustdoc testsGuillaume Gomez-1/+1
2021-04-08Add test for idents mergeGuillaume Gomez-0/+20
2021-04-02rustdoc: update macro highlight testsMichael Howell-4/+4
2020-11-15Add test to ensure that no DOS backline (\r\n) doesn't create extra backline ↵Guillaume Gomez-0/+3
in source rendering
2020-08-27Add expect test for rustdoc html highlightingAleksey Kladov-0/+43
It's a unit-test in a sense that it only checks syntax highlighting. However, the resulting HTML is written to disk and can be easily inspected in the browser. To update the test, run with `--bless` argument or set `UPDATE_EXPEC=1` env var