Skip to content

Commit 9b62936

Browse files
Update tests
1 parent db8ddbf commit 9b62936

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/test/rustdoc/codeblock-title.rs

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
#![crate_name = "foo"]
22

3-
// ignore-tidy-linelength
4-
5-
// @has foo/fn.bar.html '//*[@class="tooltip compile_fail"]/span' "This example deliberately fails to compile"
6-
// @has foo/fn.bar.html '//*[@class="tooltip ignore"]/span' "This example is not tested"
7-
// @has foo/fn.bar.html '//*[@class="tooltip should_panic"]/span' "This example panics"
3+
// @has foo/fn.bar.html '//*[@class="tooltip compile_fail"]' "ⓘ"
4+
// @has foo/fn.bar.html '//*[@class="tooltip ignore"]' "ⓘ"
5+
// @has foo/fn.bar.html '//*[@class="tooltip should_panic"]' "ⓘ"
6+
// @has foo/fn.bar.html '//*[@edition="2018"]' "ⓘ"
87

98
/// foo
109
///
@@ -20,7 +19,7 @@
2019
/// hoo();
2120
/// ```
2221
///
23-
/// ```
22+
/// ```edition2018
2423
/// let x = 0;
2524
/// ```
2625
pub fn bar() -> usize { 2 }

0 commit comments

Comments
 (0)