
The command is `@!has`, not `!@has`. I don't think these checks were doing anything before! Ideally we would accept `!@has` as well, or at least fail tests that use `!@has`. The current behavior seems to be silently ignoring the check, which is very confusing.
17 lines
391 B
Rust
17 lines
391 B
Rust
#![crate_name = "foo"]
|
|
|
|
// @has foo/fn.foo.html
|
|
// @!has - '//a[@href="http://a.a"]'
|
|
// @has - '//a[@href="#implementing-stuff-somewhere"]' 'Implementing stuff somewhere'
|
|
// @has - '//a[@href="#another-one-urg"]' 'Another one urg'
|
|
|
|
/// fooo
|
|
///
|
|
/// # Implementing [stuff](http://a.a "title") somewhere
|
|
///
|
|
/// hello
|
|
///
|
|
/// # Another [one][two] urg
|
|
///
|
|
/// [two]: http://a.a
|
|
pub fn foo() {}
|