You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Ending the loading animation with .error(...) or .done().error(...) leaves the loading text in the terminal and doesn't replace it like the .success(...) message does.
To Reproduce
Steps to reproduce the behavior:
start a loading animation with logger.loading(format!("{test_name}..."));
end the loading animation with logger.error(format!("{test_name} - {duration:?}"));
Note that you see something like
Expected behavior
I would expect it to format like ending it with success(...)
(this is an different test that passed)
*Desktop (please complete the following information):
OS: MacOS 12.0.1
Browser: Terminal in VSCode
Additional context
running cargo run --release
the test that's failing is a long running test, takes about 30s before it fails.
The text was updated successfully, but these errors were encountered:
Describe the bug
Ending the loading animation with
.error(...)
or.done().error(...)
leaves the loading text in the terminal and doesn't replace it like the.success(...)
message does.To Reproduce
Steps to reproduce the behavior:
logger.loading(format!("{test_name}..."));
logger.error(format!("{test_name} - {duration:?}"));
Expected behavior
I would expect it to format like ending it with
success(...)
(this is an different test that passed)
*Desktop (please complete the following information):
Additional context
running
cargo run --release
the test that's failing is a long running test, takes about 30s before it fails.
The text was updated successfully, but these errors were encountered: