remove extra space from crate-level doctest names
This commit is contained in:
parent
75e1463c52
commit
c379fb5b3a
3 changed files with 27 additions and 1 deletions
15
src/test/rustdoc-ui/doctest-output.rs
Normal file
15
src/test/rustdoc-ui/doctest-output.rs
Normal file
|
@ -0,0 +1,15 @@
|
|||
// compile-flags:--test --test-args=--test-threads=1
|
||||
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
|
||||
// check-pass
|
||||
|
||||
//! ```
|
||||
//! assert_eq!(1 + 1, 2);
|
||||
//! ```
|
||||
|
||||
pub mod foo {
|
||||
|
||||
/// ```
|
||||
/// assert_eq!(1 + 1, 2);
|
||||
/// ```
|
||||
pub fn bar() {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue