Skip to content

tests/nnn: fix tests #2746

Merged
sumnerevans merged 1 commit intonix-community:masterfrom
thiagokokada:fix-nnn-tests
Feb 21, 2022
Merged

tests/nnn: fix tests #2746
sumnerevans merged 1 commit intonix-community:masterfrom
thiagokokada:fix-nnn-tests

Conversation

@thiagokokada
Copy link
Copy Markdown
Contributor

@thiagokokada thiagokokada commented Feb 21, 2022

Description

There seems to be some changes on how wrapped binaries are implemented on nixpkgs. This broke the nnn tests since the tests were coupled with the old implementation.

This commit fix the tests, and also make it less coupled by just testing if the bookmarks/plugins/environment variables are available.

Fix #2745.

Checklist

  • Change is backwards compatible.

  • Code formatted with ./format.

  • Code tested through nix-shell --pure tests -A run.all.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.

    • Added myself and the module files to .github/CODEOWNERS.

There seems to be some changes on how wrapped binaries are implemented
on nixpkgs. This broke the nnn tests since the tests were coupled with
the old implementation.

This commit fix the tests, and also make it less coupled by just testing
if the bookmarks/plugins/environment variables are available.
@thiagokokada thiagokokada changed the title Fix nnn tests tests/nnn: fix tests Feb 21, 2022
Copy link
Copy Markdown
Contributor

@sumnerevans sumnerevans left a comment

Choose a reason for hiding this comment

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

Tests run fine locally

@sumnerevans sumnerevans merged commit b3af91d into nix-community:master Feb 21, 2022
@sumnerevans
Copy link
Copy Markdown
Contributor

Thanks!

Kranzes pushed a commit to Kranzes/home-manager that referenced this pull request Feb 22, 2022
There seems to be some changes on how wrapped binaries are implemented
on nixpkgs. This broke the nnn tests since the tests were coupled with
the old implementation.

This commit fix the tests, and also make it less coupled by just testing
if the bookmarks/plugins/environment variables are available.
teto pushed a commit to teto/home-manager that referenced this pull request Aug 22, 2022
There seems to be some changes on how wrapped binaries are implemented
on nixpkgs. This broke the nnn tests since the tests were coupled with
the old implementation.

This commit fix the tests, and also make it less coupled by just testing
if the bookmarks/plugins/environment variables are available.
@teto teto mentioned this pull request Aug 22, 2022
7 tasks
spacekookie pushed a commit to spacekookie/home-manager that referenced this pull request Feb 10, 2023
There seems to be some changes on how wrapped binaries are implemented
on nixpkgs. This broke the nnn tests since the tests were coupled with
the old implementation.

This commit fix the tests, and also make it less coupled by just testing
if the bookmarks/plugins/environment variables are available.
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.

bug: nnn tests are broken

2 participants