Commit 504a305c authored by Adam Langley's avatar Adam Langley

crypto/x509: reformat test struct.

https://golang.org/cl/67270 wasn't `go fmt`ed correctly, according to
the current `go fmt`. However, what `go fmt` did looked odd, so this
change tweaks the test to use a more standard layout.

Whitespace-only; no semantic change.

Change-Id: Id820352e7c9e68189ee485c8a9bfece75ca4f9cb
Reviewed-on: https://go-review.googlesource.com/69031
Run-TryBot: Adam Langley <agl@golang.org>
Reviewed-by: default avatarMartin Kreichgauer <martinkr@google.com>
Reviewed-by: default avatarAdam Langley <agl@golang.org>
parent f5cd3868
......@@ -1544,7 +1544,8 @@ func TestRDNSequenceString(t *testing.T) {
seq pkix.RDNSequence
want string
}{
{seq: pkix.RDNSequence{
{
seq: pkix.RDNSequence{
pkix.RelativeDistinguishedNameSET{
pkix.AttributeTypeAndValue{Type: oidCountry, Value: "US"},
},
......@@ -1556,7 +1557,8 @@ func TestRDNSequenceString(t *testing.T) {
pkix.AttributeTypeAndValue{Type: oidCommonName, Value: "J. Smith"},
},
},
want: "OU=Sales+CN=J. Smith,O=Widget Inc.,C=US"},
want: "OU=Sales+CN=J. Smith,O=Widget Inc.,C=US",
},
}
for i, test := range tests {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment