Run go fmt on runner.
That got out of sync at some point.
Change-Id: I5a45f50f330ceb65053181afc916053a80aa2c5d
Reviewed-on: https://boringssl-review.googlesource.com/5541
Reviewed-by: Adam Langley <agl@google.com>
diff --git a/ssl/test/runner/runner.go b/ssl/test/runner/runner.go
index 35d0bc6..1121dac 100644
--- a/ssl/test/runner/runner.go
+++ b/ssl/test/runner/runner.go
@@ -3661,10 +3661,10 @@
testCases = append(testCases, testCase{
testType: testType,
- name: "CustomExtensions-" + suffix,
+ name: "CustomExtensions-" + suffix,
config: Config{
- Bugs: ProtocolBugs {
- CustomExtension: expectedContents,
+ Bugs: ProtocolBugs{
+ CustomExtension: expectedContents,
ExpectedCustomExtension: &expectedContents,
},
},
@@ -3674,30 +3674,30 @@
// If the parse callback fails, the handshake should also fail.
testCases = append(testCases, testCase{
testType: testType,
- name: "CustomExtensions-ParseError-" + suffix,
+ name: "CustomExtensions-ParseError-" + suffix,
config: Config{
- Bugs: ProtocolBugs {
- CustomExtension: expectedContents + "foo",
+ Bugs: ProtocolBugs{
+ CustomExtension: expectedContents + "foo",
ExpectedCustomExtension: &expectedContents,
},
},
- flags: []string{flag},
- shouldFail: true,
+ flags: []string{flag},
+ shouldFail: true,
expectedError: ":CUSTOM_EXTENSION_ERROR:",
})
// If the add callback fails, the handshake should also fail.
testCases = append(testCases, testCase{
testType: testType,
- name: "CustomExtensions-FailAdd-" + suffix,
+ name: "CustomExtensions-FailAdd-" + suffix,
config: Config{
- Bugs: ProtocolBugs {
- CustomExtension: expectedContents,
+ Bugs: ProtocolBugs{
+ CustomExtension: expectedContents,
ExpectedCustomExtension: &expectedContents,
},
},
- flags: []string{flag, "-custom-extension-fail-add"},
- shouldFail: true,
+ flags: []string{flag, "-custom-extension-fail-add"},
+ shouldFail: true,
expectedError: ":CUSTOM_EXTENSION_ERROR:",
})
@@ -3711,10 +3711,10 @@
}
testCases = append(testCases, testCase{
testType: testType,
- name: "CustomExtensions-Skip-" + suffix,
+ name: "CustomExtensions-Skip-" + suffix,
config: Config{
- Bugs: ProtocolBugs {
- CustomExtension: skipCustomExtension,
+ Bugs: ProtocolBugs{
+ CustomExtension: skipCustomExtension,
ExpectedCustomExtension: &emptyString,
},
},
@@ -3726,9 +3726,9 @@
// doesn't send the extension.
testCases = append(testCases, testCase{
testType: serverTest,
- name: "CustomExtensions-NotCalled-Server",
+ name: "CustomExtensions-NotCalled-Server",
config: Config{
- Bugs: ProtocolBugs {
+ Bugs: ProtocolBugs{
ExpectedCustomExtension: &emptyString,
},
},