Commits

Tuukka Norri committed 14c1ade

Added an error message

Comments (0)

Files changed (2)

UnitTests/Sources/PGTSPgBouncerTests.m

 	strncpy(sessionid, PQgetvalue(res, 0, 0), sizeof(sessionid));
 	PQclear(res);
 	
-	MKCAssertTrue(strlen(sessionid) == 32);
+	STAssertTrue(strlen(sessionid) == 32, 
+				 @"Expected sessionID's length to be 32 bytes; got %s instead.",
+				 sessionid);
 	
 	/* Begin a transansaction and memorize its txid. */
 	res = PQexec(conn1, "BEGIN");

UnitTests/UnitTests.xcodeproj/project.pbxproj

 			isa = PBXContainerItemProxy;
 			containerPortal = 530A43530A5C0DC500A4722B /* Project object */;
 			proxyType = 1;
-			remoteGlobalIDString = 538F904E1194DF9E00FB956D /* OCMock */;
+			remoteGlobalIDString = 538F904E1194DF9E00FB956D;
 			remoteInfo = OCMock;
 		};
 		53A0DAD80F4B6DE500434E4E /* PBXContainerItemProxy */ = {