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 single file match tests for some hyrolo hide and show commands #458

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

matsl
Copy link
Collaborator

@matsl matsl commented Jan 30, 2024

What

Add single file match tests for some hyrolo hide and show commands.

Includes helper method for turning a buffer with invisible regions into a plain string with the ellipses indicating where the invisible portions for the file are.

Why

Hyrolo needs a lot of testing.

Note

These tests are designed to succeed, Whether the HyRolo buffer looks right is another issue and will require a review.

Maybe not helpful in this respect the matching string is written as a one line string for making the size of the test cases smaller. Maybe it would make sense for these types of tests, with visual impact, to write the matching string out as a multi line string in the code. What do you think?

There are likely more tests cases around these functions like having matches in multiple files and multiple file types etc but will add those separately and as we feel are required.

Includes helper method for turning a buffer with invisible regions
into a plain string with the ellipses indicating where the invisible
portions for the file are.
@matsl matsl merged commit c432588 into rsw Feb 1, 2024
@matsl matsl deleted the matsl-rsw-test-outline-commands branch February 1, 2024 21:47
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