Skip to content

fix: Make limiting depth in traverse() actually work#159

Merged
pbodnar merged 1 commit intomiyuchina:masterfrom
asb:traverse-depth-fix
Sep 4, 2022
Merged

fix: Make limiting depth in traverse() actually work#159
pbodnar merged 1 commit intomiyuchina:masterfrom
asb:traverse-depth-fix

Conversation

@asb
Copy link
Copy Markdown
Contributor

@asb asb commented Sep 2, 2022

Due to a typo (inverted comparison), the test for the traversal depth would always fail. Fix that typo and add test coverage.

Copy link
Copy Markdown
Collaborator

@pbodnar pbodnar left a comment

Choose a reason for hiding this comment

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

@asb, great, just 1 little suggestion.

I have just merged the previous PR, so you can also do Git rebase right away.

Comment thread test/test_traverse.py
@asb asb force-pushed the traverse-depth-fix branch from 866221c to 8122c8f Compare September 4, 2022 17:41
@asb asb requested a review from pbodnar September 4, 2022 17:42
Comment thread test/test_traverse.py Outdated
Due to a typo (inverted comparison), the test for the traversal depth
would always fail. Fix that typo and add test coverage.
@asb asb force-pushed the traverse-depth-fix branch from 8122c8f to 058a51e Compare September 4, 2022 19:33
@asb asb requested a review from pbodnar September 4, 2022 19:33
@asb
Copy link
Copy Markdown
Contributor Author

asb commented Sep 4, 2022

Thanks, typo fixed.

@pbodnar pbodnar merged commit 1980c7d into miyuchina:master Sep 4, 2022
@pbodnar
Copy link
Copy Markdown
Collaborator

pbodnar commented Sep 4, 2022

Merged, thank you!

@pbodnar pbodnar mentioned this pull request Jan 7, 2023
asb added a commit to muxup/muxup-site that referenced this pull request Feb 27, 2023
…se is fixed

Now my fixes <miyuchina/mistletoe#157>
<miyuchina/mistletoe#158>
<miyuchina/mistletoe#159> are in a released
version, just use the upstream traverse implementation.
asb added a commit to muxup/muxup-site that referenced this pull request Nov 24, 2024
…se is fixed

Now my fixes <miyuchina/mistletoe#157>
<miyuchina/mistletoe#158>
<miyuchina/mistletoe#159> are in a released
version, just use the upstream traverse implementation.
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.

2 participants