2018-10-16 20:21:34 +02:00
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
|
2021-05-25 00:36:36 +02:00
|
|
|
// @has foo/index.html '//*[@class="module-item"]//following-sibling::item-right[@class="docblock-short"]' ""
|
|
|
|
|
// @!has foo/index.html '//*[@id="module-item"]//following-sibling::item-right[@class="docblock-short"]' "Some text."
|
|
|
|
|
// @!has foo/index.html '//*[@id="module-item"]//following-sibling::item-right[@class="docblock-short"]' "let x = 12;"
|
2018-10-16 20:21:34 +02:00
|
|
|
|
|
|
|
|
/// ```
|
|
|
|
|
/// let x = 12;
|
|
|
|
|
/// ```
|
|
|
|
|
///
|
|
|
|
|
/// Some text.
|
|
|
|
|
pub fn foo() {}
|