Skip to content

Commit

Permalink
Remove ansi_term usage in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jasl committed Jan 13, 2024
1 parent 0602589 commit 15cbac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/client/tracing/src/logging/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ mod tests {
fn do_not_write_with_colors_on_tty_entrypoint() {
if env::var("ENABLE_LOGGING").is_ok() {
let _guard = init_logger("");
log::info!("{}", ansi_term::Colour::Yellow.paint(EXPECTED_LOG_MESSAGE));
log::info!("{}", console::style(EXPECTED_LOG_MESSAGE).yellow().to_string());
}
}

Expand Down

0 comments on commit 15cbac1

Please sign in to comment.