Pārlūkot izejas kodu

chore(test): use Infof if you include a formatting string

Mustafa Arici 7 gadi atpakaļ
vecāks
revīzija
eae9e56f13
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      user_test.go

+ 1 - 1
user_test.go

@@ -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() {