about summary refs log tree commit diff
path: root/src/test/run-make/rustdoc-negative-impl/foo.rs
diff options
context:
space:
mode:
authorTom Jakubowski <tom@crystae.net>2015-02-05 23:54:11 -0800
committerTom Jakubowski <tom@crystae.net>2015-02-05 23:54:11 -0800
commit43b85035682f56a95d3ebbfae4cd6abfed0f3225 (patch)
tree82fe6d76acfe9c9703e202877a77e7013b88ad29 /src/test/run-make/rustdoc-negative-impl/foo.rs
parent189930fcae287565dcef856ae8d60a83190a4b92 (diff)
downloadrust-43b85035682f56a95d3ebbfae4cd6abfed0f3225.tar.gz
rust-43b85035682f56a95d3ebbfae4cd6abfed0f3225.zip
rustdoc: Clean up some htmldocck tests
Fix #21740
Diffstat (limited to 'src/test/run-make/rustdoc-negative-impl/foo.rs')
-rw-r--r--src/test/run-make/rustdoc-negative-impl/foo.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-make/rustdoc-negative-impl/foo.rs b/src/test/run-make/rustdoc-negative-impl/foo.rs
index eaa3af86563..b5fcbf46c5c 100644
--- a/src/test/run-make/rustdoc-negative-impl/foo.rs
+++ b/src/test/run-make/rustdoc-negative-impl/foo.rs
@@ -15,8 +15,8 @@ pub struct Alpha;
 // @matches foo/struct.Bravo.html '//pre' "pub struct Bravo<B>"
 pub struct Bravo<B>;
 
-// @matches foo/struct.Alpha.html '//*[@class="impl"]//code' "impl !.*Send.* for .*Alpha"
+// @matches foo/struct.Alpha.html '//*[@class="impl"]//code' "impl !Send for Alpha"
 impl !Send for Alpha {}
 
-// @matches foo/struct.Bravo.html '//*[@class="impl"]//code' "impl<B> !.*Send.* for .*Bravo.*<B>"
+// @matches foo/struct.Bravo.html '//*[@class="impl"]//code' "impl<B> !Send for Bravo<B>"
 impl<B> !Send for Bravo<B> {}