Browse files

Change one @passthrough in the unit test to use [self inner] instead …

…of self.inner, to make sure arbitrary expressions work
  • Loading branch information...
1 parent 15fb5e3 commit 8024bba9640c84690d8934b2d4f0f53c7cf71dbf @jspahrsummers committed Jul 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Tests/EXTPassthroughTest.m
@@ -55,7 +55,7 @@ - (void)testPassthroughProperty {
@implementation OuterClass
@passthrough(OuterClass, renamedMethod, self.inner, voidMethod);
@passthrough(OuterClass, methodWithString:, self.inner);
-@passthrough(OuterClass, methodWithString:number:, self.inner);
+@passthrough(OuterClass, methodWithString:number:, [self inner]);
@passthrough(OuterClass, isEnabled, self.inner);
@passthrough(OuterClass, setEnabled:, self.inner);

0 comments on commit 8024bba

Please sign in to comment.