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

Added tests for visible ranges(scroll, fold) #539

Merged
merged 5 commits into from
Feb 2, 2022

Conversation

AndreasArvidsson
Copy link
Member

fixes #160

Checklist

pokey
pokey previously approved these changes Feb 2, 2022
Copy link
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

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

This looks really nice; thanks for following up on this stuff! I left one minor comment. Not a showstopper, as we have the same problem in a couple other manual tests, but seems easy to fix and might save us some headaches down the road 🤷‍♂️

But yeah re your comment on the issue, I think it's fine to handle these as one-offs rather than adding support to test case recorder

src/test/suite/fold.test.ts Outdated Show resolved Hide resolved
Comment on lines 31 to 35
mark: {
type: "decoratedSymbol",
symbolColor: "default",
character: "w",
},
Copy link
Member

Choose a reason for hiding this comment

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

as above, maybe we should just use cursor mark to avoid hat allocation fragility?

Copy link
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

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

Nice 😊

@AndreasArvidsson AndreasArvidsson merged commit 0d11971 into main Feb 2, 2022
@AndreasArvidsson AndreasArvidsson deleted the visibleRangesTest branch February 2, 2022 18:10
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.

Test a command's effect on visible ranges
2 participants