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

describe blocks not executing in order #28

Merged
merged 2 commits into from Jul 27, 2015
Merged

Conversation

mla
Copy link
Contributor

@mla mla commented Jul 26, 2015

Hi. Thanks for Test::Spec. It's really helping to make my tests more readable.

I think I found a problem in the order that blocks are executed, unless I'm missing something.
Looks like the top-level containers in the %_Package_Contexts do not have have their order maintained.

I added a test, t/ordering.t, that demonstrates the problem.

All I did was change it to use the _ixhash() function to create those containers rather than a naked hash.

@andyjones
Copy link
Collaborator

Thanks! I'll take a look when I get home tonight

andyjones added a commit that referenced this pull request Jul 27, 2015
describe blocks not executing in order
@andyjones andyjones merged commit 14691f0 into kingpong:develop Jul 27, 2015
@andyjones
Copy link
Collaborator

Thanks, 0.51 should be on cpan shortly

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.

None yet

2 participants