mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
15 lines
346 B
Rust
15 lines
346 B
Rust
|
#![crate_name = "foo"]
|
||
|
|
||
|
//! # Heading with [a link](https://a.com) inside
|
||
|
//!
|
||
|
//! And even with
|
||
|
//!
|
||
|
//! ## [multiple](https://b.com) [links](https://c.com)
|
||
|
//!
|
||
|
//! !
|
||
|
|
||
|
// @has 'foo/index.html'
|
||
|
// @has - '//h2/a[@href="https://a.com"]' 'a link'
|
||
|
// @has - '//h3/a[@href="https://b.com"]' 'multiple'
|
||
|
// @has - '//h3/a[@href="https://c.com"]' 'links'
|