1
0
mirror of https://github.com/golang/go synced 2024-11-14 21:50:30 -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 strconv: fix function name in errors for Atoi 2016-09-04 00:17:58 +00:00
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 unicode: upgrade to version 9.0.0 2016-06-28 15:08:11 +00:00
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 strconv: fix function name in errors for Atoi 2016-09-04 00:17:58 +00:00