Skip to content

Commit c2ff7ac

Browse files
Update xtask/src/hooks.rs
Co-authored-by: Emil Gardström <[email protected]>
1 parent 0896c95 commit c2ff7ac

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

xtask/src/hooks.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -234,14 +234,9 @@ pub fn test(
234234
if python {
235235
tests.push("python");
236236
}
237-
let join_to = tests.len() - 1;
238-
let mut joined = tests[0..join_to].join(", ");
239-
if join_to > 1 {
240-
joined.push(',');
241-
}
242237
msg_info.info(format_args!(
243-
"Running {joined} and {} tests.",
244-
tests[join_to]
238+
"Running {} tests.",
239+
tests.join(',')
245240
))?;
246241

247242
let channel = get_channel_prefer_nightly(msg_info, toolchain)?;

0 commit comments

Comments
 (0)