title: Golang Test return EOF through VsCode button
body: <p>Environment:</p>
  <ul>
  <li>VSCode 1.68.0</li>
  <li>Golang 1.18</li>
  </ul>
  <p>Question:</p>
  <ol>
  <li>I write some golang code with net/http.</li>
  <li>I write some test code for step 1.</li>
  <li>When I use Button &quot;run test&quot; in vscode. It returns error about http EOF.
  <a href="https://i.stack.imgur.com/PvDl6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PvDl6.jpg" alt="enter image description here" /></a></li>
  </ol>
  <p><a href="https://i.stack.imgur.com/zWeqd.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zWeqd.jpg" alt="enter image description here" /></a>
  But if I use the same cmd in tty, it will be OK. Why?
  <a href="https://i.stack.imgur.com/aUqqz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aUqqz.jpg" alt="enter image description here" /></a></p>
  <p>My colleagues are OK with the same code.</p>
  <p>I will be grateful if you can help me.</p>