Skip to content

Instantly share code, notes, and snippets.

@AlexDaniel
Created September 17, 2017 03:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexDaniel/486717d5d2643f103641b3533d3ee312 to your computer and use it in GitHub Desktop.
Save AlexDaniel/486717d5d2643f103641b3533d3ee312 to your computer and use it in GitHub Desktop.
diff --git a/lib/Test.pm6 b/lib/Test.pm6
index ea4176a40..8ef52b9d0 100644
--- a/lib/Test.pm6
+++ b/lib/Test.pm6
@@ -39,6 +39,8 @@ my int $done_testing_has_been_run = 0;
_init_vars();
sub _init_io {
+ nqp::setbuffersizefh(nqp::getstdin(), 0);
+ nqp::setbuffersizefh(nqp::getstdout(), 0);
$output = $PROCESS::OUT;
$failure_output = $PROCESS::ERR;
$todo_output = $PROCESS::OUT;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment