1
0
mirror of https://github.com/golang/go synced 2024-11-05 22:56:11 -07:00
go/src/strconv
Quentin Smith 7c46f03498 strconv: strip \r in raw strings passed to Unquote
To match the language spec, strconv.Unquote needs to strip carriage
returns from the raw string.

Also fixes TestUnquote to not be a noop.

Fixes #15997

Change-Id: I2456f50f2ad3830f37e545f4f6774ced9fe609d7
Reviewed-on: https://go-review.googlesource.com/31210
Reviewed-by: Robert Griesemer <gri@golang.org>
2016-10-17 18:34:02 +00:00
..
testdata
atob_test.go
atob.go
atof_test.go
atof.go
atoi_test.go
atoi.go
decimal_test.go
decimal.go strconv: make FormatFloat slowpath a little faster 2016-10-17 18:23:32 +00:00
doc.go
example_test.go
extfloat.go
fp_test.go
ftoa_test.go strconv: make FormatFloat slowpath a little faster 2016-10-17 18:23:32 +00:00
ftoa.go
internal_test.go
isprint.go
itoa_test.go
itoa.go
makeisprint.go
quote_test.go strconv: strip \r in raw strings passed to Unquote 2016-10-17 18:34:02 +00:00
quote.go strconv: strip \r in raw strings passed to Unquote 2016-10-17 18:34:02 +00:00
strconv_test.go