This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-04-28 11:07:42 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
d76e168f01
rust
/
tests
/
rustdoc
/
unneeded-trait-implementations-title.rs
6 lines
102 B
Rust
Raw
Normal View
History
Unescape
Escape
Remove unneeded trait implementations titles
2018-03-24 16:22:08 +00:00
#![
crate_name =
"
foo
"
]
pub
struct
Bar
;
Fix unneeded-trait-implementations-title test The `@!has` command does not support specifying just a PATH and an XPATH. That means that the previous test searched for the literal string `//h2[@id="implementations"]` within the generated output, which obviously didn't exist. Even after adding a trait implementation, the test still passed. The correct way to check for the existence of a DOM element with the id `implementations` is to use the `@count` keyword.
2018-10-05 17:08:52 +00:00
// @count foo/struct.Bar.html '//*[@id="implementations"]' 0
Reference in New Issue
Copy Permalink