TheSwanFactory/hclang

`npm run testdoc` pauses

Closed this issue · 3 comments

When I run a test doc test, it unexpectedly pauses at the end.
I have to hit enter before my prompt returns.

if I have an echo at the end, that doesn't show until afterwards.

Is it somehow waiting for input?!?

Yes, doctest implicitly invokes the REPL

Welcome to the HCLang REPL!
.hc 0.5.1;
; #

set evaluated = true (and check before repl)

Fixed. And restores doc test coloring!