Skip to content

Commit

Permalink
Always display path of test files
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Oct 26, 2021
1 parent f74cd93 commit 6170650
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,7 @@ pub(crate) fn ok() {
}

pub(crate) fn begin_test(test: &Test, show_expected: bool) {
let display_name = if show_expected {
test.path
.file_name()
.unwrap_or_else(|| test.path.as_os_str())
.to_string_lossy()
} else {
test.path.as_os_str().to_string_lossy()
};
let display_name = test.path.as_os_str().to_string_lossy();

print!("test ");
term::bold();
Expand Down

0 comments on commit 6170650

Please sign in to comment.