From 43982f07ba6a0a9839e32e774855c9d2068e9d5e Mon Sep 17 00:00:00 2001 From: "thomasvl@gmail.com" Date: Tue, 29 Jul 2008 15:07:07 +0000 Subject: fix a bug w/ method check support. mark part of the logger+asl code as not feasible for testing. work around a unittesting marco catch w/ gc and __weak. --- Foundation/GTMLoggerRingBufferWriterTest.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Foundation/GTMLoggerRingBufferWriterTest.m') diff --git a/Foundation/GTMLoggerRingBufferWriterTest.m b/Foundation/GTMLoggerRingBufferWriterTest.m index 41b78e2..6e64cc0 100644 --- a/Foundation/GTMLoggerRingBufferWriterTest.m +++ b/Foundation/GTMLoggerRingBufferWriterTest.m @@ -117,7 +117,7 @@ [GTMLoggerRingBufferWriter ringBufferWriterWithCapacity:32 writer:countingWriter_]; STAssertEquals([writer capacity], 32, nil); - STAssertEquals([writer writer], countingWriter_, nil); + STAssertTrue([writer writer] == countingWriter_, nil); STAssertEquals([writer count], 0, nil); STAssertEquals([writer droppedLogCount], 0, nil); STAssertEquals([writer totalLogged], 0, nil); -- cgit v1.2.3