Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

OCUnit fails when making expectations outside of tests #24

Open
ryanmasondavies opened this issue Apr 18, 2013 · 0 comments
Open

OCUnit fails when making expectations outside of tests #24

ryanmasondavies opened this issue Apr 18, 2013 · 0 comments
Labels
Milestone

Comments

@ryanmasondavies
Copy link
Owner

The following code causes OCUnit to wholly fail with no reason why:

describe(@"something", ^{
    [[@TRUE should] beFalse];
});

Because the exception is raised during definition, the suite fails. Specify should handle this by raising an assertion.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant