If you do something dumb enough, the test runner won't print out your test failures

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 24 05:37:15 PDT 2016


On 10/23/2016 05:58 PM, Vladimir Panteleev wrote:
> On Sunday, 23 October 2016 at 21:52:26 UTC, Jonathan M Davis wrote:
>> LOL. This was too funny not to share. I had a unittest failure in a
>> project that I'm working on, and dub ended up just printing out
>
> Nice story, thanks for sharing :)
>
> You can change your shell prompt so it displays the exit code of the
> last command. It's something frequently seen in people's custom prompts.
> (Here's mine: https://github.com/CyberShadow/cyberzshadow)

Cool, mine is quite similar (I don't use mc so I use RPS1). One extra 
thing I found useful is to display the running time of the last command 
if longer than 1 second. -- Andrei



More information about the Digitalmars-d mailing list