Skip to content

Commit 15db418

Browse files
Simplify test
Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
1 parent 5fcd2f7 commit 15db418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/rustdoc/type-layout.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// @has type_layout/struct.Foo.html 'Size: '
44
// @has - ' bytes'
5-
// @matches - '<h2 id="layout".+Layout.+a href="#layout" class="anchor">'
5+
// @has - '//*[@id="layout"]/a[@href="#layout"]' ''
66
pub struct Foo {
77
pub a: usize,
88
b: Vec<String>,

0 commit comments

Comments
 (0)