Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6)

Unified Diff: src/pkg/http/lex_test.go

Issue 223076: code review 223076: gofmt: experiment: align values in map composites where... (Closed)
Patch Set: code review 223076: gofmt: experiment: align values in map composites where... Created 15 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/gob/encode.go ('k') | src/pkg/http/readrequest_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/http/lex_test.go
===================================================================
--- a/src/pkg/http/lex_test.go
+++ b/src/pkg/http/lex_test.go
@@ -16,29 +16,29 @@
var lexTests = []lexTest{
lexTest{
- Raw: `"abc"def,:ghi`,
+ Raw: `"abc"def,:ghi`,
Parsed: 13,
Result: []string{"abcdef", "ghi"},
},
// My understanding of the RFC is that escape sequences outside of
// quotes are not interpreted?
lexTest{
- Raw: `"\t"\t"\t"`,
+ Raw: `"\t"\t"\t"`,
Parsed: 10,
Result: []string{"\t", "t\t"},
},
lexTest{
- Raw: `"\yab"\r\n`,
+ Raw: `"\yab"\r\n`,
Parsed: 10,
Result: []string{"?ab", "r", "n"},
},
lexTest{
- Raw: "ab\f",
+ Raw: "ab\f",
Parsed: 3,
Result: []string{"ab?"},
},
lexTest{
- Raw: "\"ab \" c,de f, gh, ij\n\t\r",
+ Raw: "\"ab \" c,de f, gh, ij\n\t\r",
Parsed: 23,
Result: []string{"ab ", "c", "de", "f", "gh", "ij"},
},
« no previous file with comments | « src/pkg/gob/encode.go ('k') | src/pkg/http/readrequest_test.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b