two small cleanups

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-06-17 15:55:31 -04:00
parent dc45b9f1b0
commit f14de4c039
No known key found for this signature in database
GPG key ID: 18F3685C0022BFF3
2 changed files with 4 additions and 5 deletions

View file

@ -27,10 +27,7 @@ func (asm authServiceMock) equalTo(v *authService) bool {
}
}
if asm.realm != v.Realm.String() {
return false
}
return true
return asm.realm == v.Realm.String()
}
func TestParseChallenge(t *testing.T) {

View file

@ -261,5 +261,7 @@ func main() {
return nil
}
app.Run(os.Args)
if err := app.Run(os.Args); err != nil {
logrus.Fatal(err)
}
}