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

A trick to fix continue/break/return handling in for loop testset. #18011

Merged
merged 1 commit into from
Aug 15, 2016

Conversation

yuyichao
Copy link
Contributor

Fix #17908

I realized that the test for #17462 could have been swallowing test errors for all tests running on the same worker.....

@yuyichao yuyichao added test This change adds or pertains to unit tests testsystem The unit testing framework and Test stdlib labels Aug 13, 2016
i > 1 && return
@test i == 1
end
# The return abort the control flow so the expression above doesn't return a
Copy link
Contributor

Choose a reason for hiding this comment

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

aborts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test This change adds or pertains to unit tests testsystem The unit testing framework and Test stdlib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants