From 15db4186b76a95adad15428d391fe7726112ea03 Mon Sep 17 00:00:00 2001 From: est31 Date: Tue, 26 Jul 2022 12:45:16 +0200 Subject: [PATCH] Simplify test Co-authored-by: Guillaume Gomez --- src/test/rustdoc/type-layout.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/rustdoc/type-layout.rs b/src/test/rustdoc/type-layout.rs index 3b13e12ee61e..e5c6e9dc3f9e 100644 --- a/src/test/rustdoc/type-layout.rs +++ b/src/test/rustdoc/type-layout.rs @@ -2,7 +2,7 @@ // @has type_layout/struct.Foo.html 'Size: ' // @has - ' bytes' -// @matches - '

' +// @has - '//*[@id="layout"]/a[@href="#layout"]' '' pub struct Foo { pub a: usize, b: Vec,