File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,8 @@ - (void)testTrackEventNameValidation {
101
101
}
102
102
103
103
- (void )testTrackEventDimensionsValidation {
104
+ #pragma clang diagnostic push
105
+ #pragma clang diagnostic ignored "-Wobjc-literal-conversion"
104
106
PFAssertThrowsInvalidArgumentException ([PFAnalytics trackEvent: @" a" dimensions: @{ @2 : @" yolo" }]);
105
107
PFAssertThrowsInvalidArgumentException ([PFAnalytics trackEvent: @" a" dimensions: @{ @" yolo" : @2 }]);
106
108
PFAssertThrowsInvalidArgumentException ([PFAnalytics trackEventInBackground: @" a"
@@ -109,6 +111,7 @@ - (void)testTrackEventDimensionsValidation {
109
111
PFAssertThrowsInvalidArgumentException ([PFAnalytics trackEventInBackground: @" a"
110
112
dimensions: @{ @2 : @" yolo" }
111
113
block: nil ]);
114
+ #pragma clang diagnostic pop
112
115
}
113
116
114
117
- (void )testTrackAppOpenedWithLaunchOptionsViaTask {
You can’t perform that action at this time.
0 commit comments