about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Layzell <michael@thelayzells.com>2017-08-28 10:52:49 -0400
committerMichael Layzell <michael@thelayzells.com>2017-08-28 10:52:49 -0400
commit2f19383742cea0c53bcd3d8775220059a1bfa883 (patch)
treea459751c7f7150893cb022c20d8ebe9003041144
parente83c8085a0260b7280210adebbb1db852d17eee9 (diff)
downloadrust-2f19383742cea0c53bcd3d8775220059a1bfa883.tar.gz
rust-2f19383742cea0c53bcd3d8775220059a1bfa883.zip
Update test issue-41783.rs for new attribute highlighting behaviour
-rw-r--r--src/test/rustdoc/issue-41783.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/test/rustdoc/issue-41783.rs b/src/test/rustdoc/issue-41783.rs
index 3933b8bcbb8..991cf4cf2b3 100644
--- a/src/test/rustdoc/issue-41783.rs
+++ b/src/test/rustdoc/issue-41783.rs
@@ -12,8 +12,10 @@
 // @!has - 'space'
 // @!has - 'comment'
 // @has - '# <span class="ident">single'
-// @has - '#<span class="attribute"># <span class="ident">double</span>'
-// @has - '#<span class="attribute">#<span class="attribute"># <span class="ident">triple</span>'
+// @has - '## <span class="ident">double</span>'
+// @has - '### <span class="ident">triple</span>'
+// @has - '<span class="attribute">#[<span class="ident">outer</span>]</span>'
+// @has - '<span class="attribute">#![<span class="ident">inner</span>]</span>'
 
 /// ```no_run
 /// # # space
@@ -21,5 +23,7 @@
 /// ## single
 /// ### double
 /// #### triple
+/// ##[outer]
+/// ##![inner]
 /// ```
 pub struct Foo;