Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run testdoc pauses #170

Closed
drernie opened this issue Oct 1, 2023 · 3 comments
Closed

npm run testdoc pauses #170

drernie opened this issue Oct 1, 2023 · 3 comments

Comments

@drernie
Copy link
Contributor

drernie commented Oct 1, 2023

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?!?

@drernie
Copy link
Contributor Author

drernie commented Oct 1, 2023

Yes, doctest implicitly invokes the REPL

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

@drernie
Copy link
Contributor Author

drernie commented Oct 1, 2023

set evaluated = true (and check before repl)

@drernie
Copy link
Contributor Author

drernie commented Oct 1, 2023

Fixed. And restores doc test coloring!

@drernie drernie closed this as completed Oct 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant