about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-06-03 00:48:17 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2018-06-04 09:52:31 +0200
commit402aa0ff157d48175747812b594087deb027a151 (patch)
treeb237dad0723f625170eb43f00e2baa764107190d /src/test/rustdoc
parentded5c5a9eeb83ea7ec3c572a601afaaca6a3d9e6 (diff)
downloadrust-402aa0ff157d48175747812b594087deb027a151.tar.gz
rust-402aa0ff157d48175747812b594087deb027a151.zip
Add even more tests
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/keyword.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/rustdoc/keyword.rs b/src/test/rustdoc/keyword.rs
index 06ebf15d364..b255ffddafa 100644
--- a/src/test/rustdoc/keyword.rs
+++ b/src/test/rustdoc/keyword.rs
@@ -16,6 +16,9 @@
 // @has foo/index.html '//a[@href="keyword.match.html"]' 'match'
 // @has foo/keyword.match.html '//a[@class="keyword"]' 'match'
 // @has foo/keyword.match.html '//section[@id="main"]//div[@class="docblock"]//p' 'this is a test!'
+// @!has foo/index.html '//a/@href' 'foo/index.html'
+// @!has foo/foo/index.html
+// @!has-dir foo/foo
 #[doc(keyword = "match")]
 /// this is a test!
 mod foo{}