File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,16 @@ assert-css: ("//*[@class='structfield small-section-header']//a[text()='Alias']"
55assert-css: ("#method\.a_method > code", {"font-weight": "600"})
66assert-css: ("#associatedtype\.X > code", {"font-weight": "600"})
77assert-css: ("#associatedconstant\.Y > code", {"font-weight": "600"})
8+
9+ goto: file://|DOC_PATH|/test_docs/type.SomeType.html
10+ assert-css: (".top-doc .docblock p", {"font-weight": "400"}, ALL)
11+
12+ goto: file://|DOC_PATH|/test_docs/struct.Foo.html
13+ assert-css: (".impl-items .method", {"font-weight": "600"}, ALL)
14+
15+ goto: file://|DOC_PATH|/lib2/trait.Trait.html
16+ assert-count: (".methods .type", 1)
17+ assert-css: (".methods .type", {"font-weight": "600"})
18+ assert-count: (".methods .constant", 1)
19+ assert-css: (".methods .constant", {"font-weight": "600"})
20+ assert-css: (".methods .method", {"font-weight": "600"})
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ impl Foo {
2323pub trait Trait {
2424 type X ;
2525 const Y : u32 ;
26+
27+ fn foo ( ) { }
2628}
2729
2830impl Trait for Foo {
You can’t perform that action at this time.
0 commit comments