Fix comments around test harness generation
This commit is contained in:
parent
258e3b3a75
commit
7bf33f00bf
2 changed files with 2 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ pub fn expand_test_or_bench(
|
|||
cx.path(sp, vec![test_id, cx.ident_of(name)])
|
||||
};
|
||||
|
||||
// creates test::$name
|
||||
// creates test::ShouldPanic::$name
|
||||
let should_panic_path = |name| {
|
||||
cx.path(sp, vec![test_id, cx.ident_of("ShouldPanic"), cx.ident_of(name)])
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue