🚨 Removed linter warnings for token and login domains

This commit is contained in:
Maxim Lebedev 2021-09-30 02:08:24 +05:00
parent 78a7abf1fb
commit 7b9a687c9c
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
2 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@ type Login struct {
State string
}
//nolint: gomnd
func TestLogin(tb testing.TB) *Login {
tb.Helper()
@ -34,6 +35,7 @@ func TestLogin(tb testing.TB) *Login {
}
}
//nolint: gomnd
func TestLoginInvalid(tb testing.TB) *Login {
tb.Helper()

View File

@ -22,6 +22,7 @@ func NewToken() *Token {
return t
}
//nolint: gomnd
func TestToken(tb testing.TB) *Token {
tb.Helper()