Replace whitespaces in doctests' name with dashes
This commit is contained in:
parent
69c1c6a173
commit
3792be6ac9
1 changed files with 1 additions and 0 deletions
|
@ -853,6 +853,7 @@ impl Collector {
|
|||
|
||||
fn generate_name(&self, line: usize, filename: &FileName) -> String {
|
||||
let mut item_path = self.names.join("::");
|
||||
item_path.retain(|c| c != ' ');
|
||||
if !item_path.is_empty() {
|
||||
item_path.push(' ');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue