Why not upload your entire unit test to https://go.dev/play/ so we can have
a look at what you are doing?
On Sunday, 8 May 2022 at 23:45:15 UTC+1 Const V wrote:
> In order to test I temporarily use a pipe in order to get the string from
> the stdout.
>
> tempStdout := os.Stdout
> r, w, _ := os.
How did you reach the conclusion that it is not working?
What is your stdout connected to?
On Sunday, 8 May 2022 at 22:24:16 UTC+1 Const V wrote:
> I'm submitting as a separate post to focus on the following problem I have:
>
> writing 100MB string to STDOUT
> w io.Writer
> w.Write([]byte(s))
>
>