Skip to content

Commit

Permalink
chore(test): use Infof if you include a formatting string
Browse files Browse the repository at this point in the history
  • Loading branch information
cad committed Jun 15, 2018
1 parent 7bf6619 commit eae9e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ func TestUser_ExpiresAt(t *testing.T) {
// areUsersEqual compares given users and returns true if they are the same.
func areUsersEqual(user1, user2 *ovpm.User) bool {
if user1.GetCert() != user2.GetCert() {
logrus.Info("Cert %v != %v", user1.GetCert(), user2.GetCert())
logrus.Infof("Cert %v != %v", user1.GetCert(), user2.GetCert())
return false
}
if user1.GetUsername() != user2.GetUsername() {
Expand Down

0 comments on commit eae9e56

Please sign in to comment.