File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 33
44// regression test for https://github.com/rust-lang/rust/issues/138112
55
6- //@ has 'foo/fn.foo.html' '//div[@class="stab portability"]' 'Available nowhere'
6+ //@ has 'foo/index.html'
7+ //@ has - '//*[@class="stab portability"]/@title' 'Available nowhere'
8+
9+ //@ count 'foo/fn.foo.html' '//*[@class="stab portability"]' 1
10+ //@ has 'foo/fn.foo.html' '//*[@class="stab portability"]' 'Available nowhere'
711#[ doc( cfg( false ) ) ]
812pub fn foo ( ) { }
913
10- // a cfg(true) will simply be ommited , as it is the same as no cfg.
11- //@ !has 'foo/fn.bar.html' '//div [@class="stab portability"]' ''
14+ // a cfg(true) will simply be omitted , as it is the same as no cfg.
15+ //@ count 'foo/fn.bar.html' '//* [@class="stab portability"]' 0
1216#[ doc( cfg( true ) ) ]
1317pub fn bar ( ) { }
You can’t perform that action at this time.
0 commit comments