style fix for error checking (#1170)

+additional linting
This commit is contained in:
Meisam
2021-07-09 11:16:44 -07:00
committed by GitHub
parent a13e1e75e2
commit 7361578412
22 changed files with 62 additions and 112 deletions
+1 -2
View File
@@ -5,8 +5,7 @@ import (
)
func TestCreateAccessToken(t *testing.T) {
_, err := GenerateAccessToken()
if err != nil {
if _, err := GenerateAccessToken(); err != nil {
t.Error(err)
}
}