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

Add a test and improve one for testing break #1616

Merged
merged 1 commit into from Sep 15, 2022

Conversation

dylanahsmith
Copy link
Contributor

The existing test test_break_with_no_block didn't actually test what happened after the top-level break tag, so didn't actually make sure it interrupted the rest of the rendering.

The new test makes sure the break tag works properly after a nested loop while still in the outer loop, which I noticed being a missing edge case.

@dylanahsmith dylanahsmith merged commit 456be2f into master Sep 15, 2022
@dylanahsmith dylanahsmith deleted the add-missing-break-coverage branch September 15, 2022 14:08
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