diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-12-05 17:31:39 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-12-05 20:15:40 +0100 |
| commit | 9b6293692801f703e694c4c7f61b165b939cea8d (patch) | |
| tree | 82511d694c309ca677a2f6488fd63b99880a3613 /src/test/rustdoc/codeblock-title.rs | |
| parent | db8ddbf570fa7d8df5d71b19b44a771c80c689ba (diff) | |
| download | rust-9b6293692801f703e694c4c7f61b165b939cea8d.tar.gz rust-9b6293692801f703e694c4c7f61b165b939cea8d.zip | |
Update tests
Diffstat (limited to 'src/test/rustdoc/codeblock-title.rs')
| -rw-r--r-- | src/test/rustdoc/codeblock-title.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/test/rustdoc/codeblock-title.rs b/src/test/rustdoc/codeblock-title.rs index b59b21111b0..1327fd67d31 100644 --- a/src/test/rustdoc/codeblock-title.rs +++ b/src/test/rustdoc/codeblock-title.rs @@ -1,10 +1,9 @@ #![crate_name = "foo"] -// ignore-tidy-linelength - -// @has foo/fn.bar.html '//*[@class="tooltip compile_fail"]/span' "This example deliberately fails to compile" -// @has foo/fn.bar.html '//*[@class="tooltip ignore"]/span' "This example is not tested" -// @has foo/fn.bar.html '//*[@class="tooltip should_panic"]/span' "This example panics" +// @has foo/fn.bar.html '//*[@class="tooltip compile_fail"]' "ⓘ" +// @has foo/fn.bar.html '//*[@class="tooltip ignore"]' "ⓘ" +// @has foo/fn.bar.html '//*[@class="tooltip should_panic"]' "ⓘ" +// @has foo/fn.bar.html '//*[@edition="2018"]' "ⓘ" /// foo /// @@ -20,7 +19,7 @@ /// hoo(); /// ``` /// -/// ``` +/// ```edition2018 /// let x = 0; /// ``` pub fn bar() -> usize { 2 } |
