"Coverage is a proxy for testing quality, but not a guarantee of it. Getting to 100% coverage is a better indicator of chasing metrics than of actually writing good tests"
Wise words indeed. I'm going to print out this quote and frame it. Thanks Rob! On Monday, 13 April 2020 17:07:25 UTC+1, K Richard Pixley wrote: > > On 4/10/20 4:15 PM, Ian Lance Taylor wrote: > > I'm not proud. Here is an example program for which os.Open(dirname) > > succeeds but ioutil.ReadDir(dirname) fails. You may have to adjust > > pathMax and nameMax for your system. Whether you actually want to use > > this technique is left to you. > > Thank you. I hadn't thought of exploiting pathname limits. > > I'll probably use Rob's solution presented a couple messages down, but I > appreciate hearing this solution too. > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/e5029c75-21dd-4d54-ba44-73a398eabe98%40googlegroups.com.