提交 40adb9ae 编写于 作者: G Guillaume Gomez

Add test to ensure the attributes position when js is disabled

上级 09cb8404
......@@ -27,6 +27,11 @@ pub fn foo() {}
/// Just a normal struct.
pub struct Foo;
impl Foo {
#[must_use]
pub fn must_use(&self) -> bool { true }
}
/// Just a normal enum.
pub enum WhoLetTheDogOut {
/// Woof!
......
// Check that the attributes are well positioned when javascript is disabled (since
// there is no toggle to display)
javascript: false
goto: file://|DOC_PATH|/struct.Foo.html
assert: (".attributes", {"margin-left": "0px"})
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册