Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed crash when using PFObject.deleteAll() with empty array. #255

Merged
merged 1 commit into from
Sep 14, 2015

Conversation

nlutsenko
Copy link
Contributor

XCTAssertTrue([PFObject deleteAll:@[] error:&error]);
XCTAssertNil(error);

XCTAssertTrue([[PFObject deleteAllInBackground:nil] waitForResult:nil]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use XCTAssertTrue() for object types.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(-‸ლ)

@nlutsenko nlutsenko force-pushed the nlutsenko.deleteAllEmpty branch from f14b448 to 237923d Compare September 14, 2015 22:44
nlutsenko added a commit that referenced this pull request Sep 14, 2015
Fixed crash when using PFObject.deleteAll() with empty array.
@nlutsenko nlutsenko merged commit 9cb9fc2 into master Sep 14, 2015
@nlutsenko nlutsenko deleted the nlutsenko.deleteAllEmpty branch September 14, 2015 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants