Adds cocoapods for libraries.
Adds OCMockito and OCHamcrest libs.
This commit is contained in:
17
Pods/OCHamcrest/Source/Core/Helpers/HCWrapInMatcher.m
generated
Normal file
17
Pods/OCHamcrest/Source/Core/Helpers/HCWrapInMatcher.m
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
// OCHamcrest by Jon Reid, https://qualitycoding.org/
|
||||
// Copyright 2019 hamcrest.org. See LICENSE.txt
|
||||
|
||||
#import "HCWrapInMatcher.h"
|
||||
|
||||
#import "HCIsEqual.h"
|
||||
|
||||
|
||||
_Nullable id <HCMatcher> HCWrapInMatcher(_Nullable id matcherOrValue)
|
||||
{
|
||||
if (!matcherOrValue)
|
||||
return nil;
|
||||
|
||||
if ([matcherOrValue conformsToProtocol:@protocol(HCMatcher)])
|
||||
return matcherOrValue;
|
||||
return HC_equalTo(matcherOrValue);
|
||||
}
|
||||
Reference in New Issue
Block a user