Go Challenge tests changed after the start

xuanbao · · 816 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<blockquote> <p>3rd April 2015: Guillaume has made 2 changes to the test files:</p> <p>The first change is minor and concerns Window user with dual stack. He has changed the net.Listen(&#34;tcp&#34;, &#34;:0&#34;) to net.Listen(&#34;tcp&#34;, &#34;127.0.0.1:0&#34;). This shouldn&#39;t change anything for most people.</p> <p>The second is more problematic and would impact people using io.Copy. In TestReadWritePing, he has moved the w.Close() in the writing goroutine just like in the other tests.</p> </blockquote> <p><a href="https://gist.github.com/creack/333f89f6aec5b789c1a0/revisions">https://gist.github.com/creack/333f89f6aec5b789c1a0/revisions</a></p> <hr/>**评论:**<br/><br/>captncraig: <pre><p>Thanks for the heads up. </p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

816 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传