Fixed some lint and code convention violations
This commit is contained in:
1 parent
af7880ceac
commit
378ac59f41
6 files changed
+33
-11
No files matched your search
@@ -69,7 +69,9 @@ func TestGenerateCSRFKeyPrint(t *testing.T) {
|
||||
key := strings.TrimSpace(mustRun(t, "config", "generate-csrf-key", "--print"))
|
||||
checkCSRFKey(t, key)
|
||||
|
||||
other := strings.TrimSpace(mustRun(t, "config", "generate-csrf-key", "--print"))
|
||||
other := strings.TrimSpace(
|
||||
mustRun(t, "config", "generate-csrf-key", "--print"),
|
||||
)
|
||||
if other == key {
|
||||
t.Error("two keys were the same")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user