Skip to content

Commit 5d78804

Browse files
bestgophersunshowers
authored andcommitted
feat: rename module_name to module_path
1 parent 3b29497 commit 5d78804

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

nextest-runner/src/helpers.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ pub(crate) fn write_test_name(
1818
write!(
1919
writer,
2020
"{}{}",
21-
rest.style(style.module_name),
22-
"::".style(style.module_name)
21+
rest.style(style.module_path),
22+
"::".style(style.module_path)
2323
)?;
2424
}
2525
write!(writer, "{}", trailing.style(style.test_name))?;

nextest-runner/src/test_list.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ impl<'a> TestInstance<'a> {
542542
pub(super) struct Styles {
543543
pub(super) binary_id: Style,
544544
pub(super) test_name: Style,
545-
pub(super) module_name: Style,
545+
pub(super) module_path: Style,
546546
field: Style,
547547
}
548548

@@ -551,7 +551,7 @@ impl Styles {
551551
self.binary_id = Style::new().magenta().bold();
552552
self.test_name = Style::new().blue().bold();
553553
self.field = Style::new().yellow().bold();
554-
self.module_name = Style::new().cyan().bold();
554+
self.module_path = Style::new().cyan().bold();
555555
}
556556
}
557557

0 commit comments

Comments
 (0)