Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
17
tests/rustdoc-ui/block-doc-comment.rs
Normal file
17
tests/rustdoc-ui/block-doc-comment.rs
Normal file
|
@ -0,0 +1,17 @@
|
|||
// check-pass
|
||||
// compile-flags:--test
|
||||
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
|
||||
|
||||
// This test ensures that no code block is detected in the doc comments.
|
||||
|
||||
pub mod Wormhole {
|
||||
/** # Returns
|
||||
*
|
||||
*/
|
||||
pub fn foofoo() {}
|
||||
/**
|
||||
* # Returns
|
||||
*
|
||||
*/
|
||||
pub fn barbar() {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue