Skip to content

Commit 0df1c69

Browse files
Update rustdoc test
1 parent fe6956b commit 0df1c69

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/test/rustdoc/issue-32374.rs

+9-5
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,24 @@
88
// 'Experimental'
99
// @matches issue_32374/index.html '//*[@class="item-right docblock-short"]/text()' 'Docs'
1010

11-
// @has issue_32374/struct.T.html '//*[@class="stab deprecated"]' \
12-
// '👎 Deprecated since 1.0.0: text'
11+
// @has issue_32374/struct.T.html '//*[@class="stab deprecated"]/span' '👎'
12+
// @has issue_32374/struct.T.html '//*[@class="stab deprecated"]/span' \
13+
// 'Deprecated since 1.0.0: text'
1314
// @hasraw - '<code>test</code>&nbsp;<a href="https://issue_url/32374">#32374</a>'
15+
// @matches issue_32374/struct.T.html '//*[@class="stab unstable"]' '🔬'
1416
// @matches issue_32374/struct.T.html '//*[@class="stab unstable"]' \
15-
// '🔬 This is a nightly-only experimental API. \(test\s#32374\)$'
17+
// 'This is a nightly-only experimental API. \(test\s#32374\)$'
1618
/// Docs
1719
#[deprecated(since = "1.0.0", note = "text")]
1820
#[unstable(feature = "test", issue = "32374")]
1921
pub struct T;
2022

23+
// @has issue_32374/struct.U.html '//*[@class="stab deprecated"]' '👎'
2124
// @has issue_32374/struct.U.html '//*[@class="stab deprecated"]' \
22-
// '👎 Deprecated since 1.0.0: deprecated'
25+
// 'Deprecated since 1.0.0: deprecated'
26+
// @has issue_32374/struct.U.html '//*[@class="stab unstable"]' '🔬'
2327
// @has issue_32374/struct.U.html '//*[@class="stab unstable"]' \
24-
// '🔬 This is a nightly-only experimental API. (test #32374)'
28+
// 'This is a nightly-only experimental API. (test #32374)'
2529
#[deprecated(since = "1.0.0", note = "deprecated")]
2630
#[unstable(feature = "test", issue = "32374", reason = "unstable")]
2731
pub struct U;

0 commit comments

Comments
 (0)