1
0
mirror of https://github.com/golang/go synced 2024-09-30 17:38:33 -06: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 all: remove public named return values when useless 2016-02-29 03:31:19 +00:00
atof_test.go strconv: fix ParseFloat for special forms of zero values 2016-04-19 22:39:43 +00:00
atof.go strconv: fix ParseFloat for special forms of zero values 2016-04-19 22:39:43 +00:00
atoi_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
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 all: remove unnecessary type conversions 2016-04-15 07:31:45 +00:00
fp_test.go all: single space after period. 2016-03-02 00:13:47 +00:00
ftoa_test.go strconv: make FormatFloat slowpath a little faster 2016-10-17 18:23:32 +00:00
ftoa.go all: single space after period. 2016-03-02 00:13:47 +00:00
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 strconv: fix comment 2015-09-10 21:31:07 +00:00
makeisprint.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
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