diff options
Diffstat (limited to 'tools/cheddar/src/tests.rs')
-rw-r--r-- | tools/cheddar/src/tests.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/cheddar/src/tests.rs b/tools/cheddar/src/tests.rs index 5b7b1cc52a95..c82bba676746 100644 --- a/tools/cheddar/src/tests.rs +++ b/tools/cheddar/src/tests.rs @@ -79,6 +79,14 @@ fn highlights_cl_link() { } #[test] +fn highlights_r_link() { + expect_markdown( + "Fixed in r/3268.", + "<p>Fixed in <a href=\"https://code.tvl.fyi/commit/?id=refs/r/3268\">r/3268</a>.</p>", + ); +} + +#[test] fn highlights_multiple_shortlinks() { expect_markdown( "Please look at cl/420, b/123.", |