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 {
101101}
102102
103103- (void )testTrackEventDimensionsValidation {
104+ #pragma clang diagnostic push
105+ #pragma clang diagnostic ignored "-Wobjc-literal-conversion"
104106 PFAssertThrowsInvalidArgumentException ([PFAnalytics trackEvent: @" a" dimensions: @{ @2 : @" yolo" }]);
105107 PFAssertThrowsInvalidArgumentException ([PFAnalytics trackEvent: @" a" dimensions: @{ @" yolo" : @2 }]);
106108 PFAssertThrowsInvalidArgumentException ([PFAnalytics trackEventInBackground: @" a"
@@ -109,6 +111,7 @@ - (void)testTrackEventDimensionsValidation {
109111 PFAssertThrowsInvalidArgumentException ([PFAnalytics trackEventInBackground: @" a"
110112 dimensions: @{ @2 : @" yolo" }
111113 block: nil ]);
114+ #pragma clang diagnostic pop
112115}
113116
114117- (void )testTrackAppOpenedWithLaunchOptionsViaTask {
You can’t perform that action at this time.
0 commit comments