Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix name of parameter to setValue:forKey:

  • Loading branch information...
commit ca41894cc36a146a920260b6f67f89980de66d1a 1 parent 973b97a
Jason Felice eraserhd authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 Kiwi/KWMock.m
4 Kiwi/KWMock.m
@@ -607,10 +607,10 @@ - (id)valueForKey:(NSString *)key {
607 607 }
608 608 }
609 609
610   -- (void)setValue:(id)value forKey:(NSString *)keyPath {
  610 +- (void)setValue:(id)value forKey:(NSString *)key {
611 611 KWMessagePattern *messagePattern = [KWMessagePattern messagePatternWithSelector:_cmd];
612 612 [self expectMessagePattern:messagePattern];
613   - NSInvocation *invocation = [NSInvocation invocationWithTarget:self selector:_cmd messageArguments:&value, &keyPath];
  613 + NSInvocation *invocation = [NSInvocation invocationWithTarget:self selector:_cmd messageArguments:&value, &key];
614 614
615 615 [self processReceivedInvocation:invocation];
616 616 }

0 comments on commit ca41894

Please sign in to comment.
Something went wrong with that request. Please try again.