소스 검색

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

Mustafa Arici 7 년 전
부모
커밋
eae9e56f13
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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() {