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

fix(tests): uses testharness in scrolling strategy #2307

Merged
merged 1 commit into from
Jan 6, 2023
Merged

fix(tests): uses testharness in scrolling strategy #2307

merged 1 commit into from
Jan 6, 2023

Conversation

adamtajti
Copy link
Contributor

Description

I noticed that the find-files scrolling strategies tend to timeout while fixing another issue. We agreed to create a separate pull request where we update this test to use testharness.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • With a script built from the CI workflow, ultimately using make test

Configuration:

  • Neovim version (nvim --version): NVIM v0.9.0-dev-622+g08ebf8d3a
  • Operating system and version: macOS 12.6

Checklist:

  • My code follows the style guidelines of this project (stylua)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (lua annotations)

@@ -107,12 +111,12 @@ describe("builtin.find_files", function()

it("should be able to c-n the items", function()
tester.run_string [[
runner.picker('find_files', 'fixtures/file<c-n>', {
runner.picker('find_files', 'fixtures/find_files/file<c-n>', {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have included added a subdirectory alongside of fixing this test to prepare for other fixtures in my next PR.

Copy link
Member

Choose a reason for hiding this comment

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

makes sense. thanks :)

@adamtajti adamtajti marked this pull request as ready for review January 6, 2023 17:17
@kkharji kkharji requested a review from Conni2461 January 6, 2023 17:18
@Conni2461 Conni2461 merged commit cd67e81 into nvim-telescope:master Jan 6, 2023
@Conni2461
Copy link
Member

Thanks for fixing that test and the ci pipeline :)

Conni2461 pushed a commit that referenced this pull request Jan 7, 2023
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.

3 participants