Skip to content

Commit

Permalink
Fix copy paste error in exception copy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Milligan committed Sep 2, 2012
1 parent 1cbc233 commit aea83b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Doubles/StubbedMethod.mm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
if (this->has_return_value()) {
NSString * selectorString = NSStringFromSelector(this->selector());
[[NSException exceptionWithName:NSInternalInconsistencyException
reason:[NSString stringWithFormat:@"Multiple return values specified for <value>", selectorString]
reason:[NSString stringWithFormat:@"Multiple return values specified for <%@>", selectorString]
userInfo:nil] raise];
}

Expand Down
2 changes: 1 addition & 1 deletion Source/Headers/Doubles/StubbedMethod.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ namespace Cedar { namespace Doubles {
if (this->has_invocation_block()) {
NSString * selectorString = NSStringFromSelector(this->selector());
[[NSException exceptionWithName:NSInternalInconsistencyException
reason:[NSString stringWithFormat:@"Multiple return values specified for <value>", selectorString]
reason:[NSString stringWithFormat:@"Multiple return values specified for <%@>", selectorString]
userInfo:nil] raise];
}

Expand Down

0 comments on commit aea83b1

Please sign in to comment.