about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorAndy Russell <arussell123@gmail.com>2019-05-03 12:55:31 -0400
committerAndy Russell <arussell123@gmail.com>2019-05-03 12:55:31 -0400
commit8fc6e420d16dc882f2047e6ec1b981cac5ef0d14 (patch)
tree06a5b23e13205319b3c46c6067d455f1a5f2170a /src/test/rustdoc
parentef9a876f8297e26859469b004047e0946ed10565 (diff)
downloadrust-8fc6e420d16dc882f2047e6ec1b981cac5ef0d14.tar.gz
rust-8fc6e420d16dc882f2047e6ec1b981cac5ef0d14.zip
use span instead of div for since version
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/assoc-consts-version.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/rustdoc/assoc-consts-version.rs b/src/test/rustdoc/assoc-consts-version.rs
index c561269cf9a..6060bc0a6fd 100644
--- a/src/test/rustdoc/assoc-consts-version.rs
+++ b/src/test/rustdoc/assoc-consts-version.rs
@@ -1,5 +1,3 @@
-// ignore-tidy-linelength
-
 #![crate_name = "foo"]
 
 #![feature(staged_api)]
@@ -10,7 +8,8 @@
 pub struct SomeStruct;
 
 impl SomeStruct {
-    // @has 'foo/struct.SomeStruct.html' '//*[@id="associatedconstant.SOME_CONST"]//div[@class="since"]' '1.1.2'
+    // @has 'foo/struct.SomeStruct.html' \
+    //   '//*[@id="associatedconstant.SOME_CONST"]//span[@class="since"]' '1.1.2'
     #[stable(since="1.1.2", feature="rust2")]
     pub const SOME_CONST: usize = 0;
 }