commit | 1300fb54491496ac19b33c5ef3b4e92fbe89b4e4 | [log] [tgz] |
---|---|---|
author | Matt Brown <mdbrown@google.com> | Thu Feb 28 10:08:05 2013 -0800 |
committer | Rob Pike <r@golang.org> | Thu Feb 28 10:08:05 2013 -0800 |
tree | 07a16c2b020fda7e1a3f02eadcd423d8688696e3 | |
parent | ee95c95ebd32c7d2c75d81d4d5ede98098669d2a [diff] |
strconv: use Quote to escape the input string for failed conversion errors This reveals the presence of control and non-printable characters in the errors returned by the Parse functions. Also add unit tests for NumError. R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/7393075