You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you simplified the bug report to the essential details?
Do you have a distinct command line to report?
Can you clearly state the configuration for this bug report?
Do you have a minimal document that highlights this bug?
Are any required files (configuration or Markdown document) attached to the issue?
Did you perform a cursory search of other issues to look for related issues?
Bug Report
Please replace any of [these areas] in the paragraphs below with the requested information.
Bug Type
Assertion Failure
Description
This specific test case was needed to trigger the behavior needed to test a branch that was previously thought of as unreachable.
When that branch assert was hit, it triggered.
Note that these defensive asserts are in the code to ensure that if we hit paths that we thought were unreachable, that we know about them instead of the branch failing in a bad way.
Specifics
What operating system and version are you running into this behavior on?
N/A
What version are you seeing this behavior in? (Run pip list or pipenv run pip list and look for the entry beside pymarkdownlnt.)
latest, main branch
Are there any extra steps that need to be taken before executing the application?
test_extra_044lc
What is the command line you invoke to get this behavior?
test_extra_044lc
Are you using a configuration file? Either on the command line or one of the implicit configuration files? If so, attach that file to this issue.
N/A
What Markdown document causes this behavior to manifest? Attach that file to this issue.
+ + > -----
> > block 1
> > block 2
> -----
> ```block
> A code block
> ```
> -----
+ another list
Actual Behavior
This caused the branch protection assert to be triggered.
Expected Behavior
Now that we know this branch can get hit, the assert should be replaced with proper handling of the branch conditional.
The text was updated successfully, but these errors were encountered:
Prerequisites
Bug Report
Please replace any of
[these areas]
in the paragraphs below with the requested information.Bug Type
Description
This specific test case was needed to trigger the behavior needed to test a branch that was previously thought of as unreachable.
When that branch assert was hit, it triggered.
Note that these defensive asserts are in the code to ensure that if we hit paths that we thought were unreachable, that we know about them instead of the branch failing in a bad way.
Specifics
What operating system and version are you running into this behavior on?
N/A
What version are you seeing this behavior in? (Run
pip list
orpipenv run pip list
and look for the entry besidepymarkdownlnt
.)latest, main branch
Are there any extra steps that need to be taken before executing the application?
test_extra_044lc
What is the command line you invoke to get this behavior?
test_extra_044lc
Are you using a configuration file? Either on the command line or one of the implicit configuration files? If so, attach that file to this issue.
N/A
What Markdown document causes this behavior to manifest? Attach that file to this issue.
Actual Behavior
This caused the branch protection assert to be triggered.
Expected Behavior
Now that we know this branch can get hit, the assert should be replaced with proper handling of the branch conditional.
The text was updated successfully, but these errors were encountered: