rust-playground icon indicating copy to clipboard operation
rust-playground copied to clipboard

Highlight errors in stdout under Test mode

Open CYBAI opened this issue 3 years ago • 0 comments

While playing with doctest on playground, I just noticed the errors are not highlighted under test mode. Thus, I wonder it might be helpful to highlight errors if users are running tests.

Before After
image image

On the other hand, based on the impl in this PR, it will only highlight errors if users are using Test primary action so it will not highlight stdout under Run or Build modes (like following picture):

image

CYBAI avatar Jul 31 '22 04:07 CYBAI