Skip to content

Commit 634cbb0

Browse files
committed
Fix linting issue.
Signed-off-by: Chris Halbert <[email protected]>
1 parent 653d40b commit 634cbb0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

google/google_test.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -23,33 +23,33 @@ func TestWithLoginURL(t *testing.T) {
2323
var testCases = []struct {
2424
description string
2525
urlParm string
26-
expectUrlLogin string
26+
expectURLLogin string
2727
isErrNil bool
2828
}{
2929
{
3030
description: "should assign a valid url without error",
3131
urlParm: "http://fake.fake",
32-
expectUrlLogin: "http://fake.fake",
32+
expectURLLogin: "http://fake.fake",
3333
isErrNil: true,
3434
},
3535
{
3636
description: "should assign a sanitizable url without error",
3737
urlParm: " http://fake.fake ",
38-
expectUrlLogin: "http://fake.fake",
38+
expectURLLogin: "http://fake.fake",
3939
isErrNil: true,
4040
},
4141
{
4242
description: "should not assign an invalid url, and should return an error",
4343
urlParm: "not a parseable url",
44-
expectUrlLogin: "",
44+
expectURLLogin: "",
4545
isErrNil: false,
4646
},
4747
}
4848
for _, testCase := range testCases {
4949
t.Run(testCase.description, func(t *testing.T) {
5050
loginURL = ""
5151
err := WithLoginURL(testCase.urlParm)
52-
assert.Equal(t, testCase.expectUrlLogin, loginURL)
52+
assert.Equal(t, testCase.expectURLLogin, loginURL)
5353
assert.Equal(t, testCase.isErrNil, err == nil)
5454
})
5555
}

0 commit comments

Comments
 (0)