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

[Tests] nvm exec/nvm run: add --silent tests #1259

Merged
merged 2 commits into from
Feb 4, 2025

Conversation

jumbosushi
Copy link
Contributor

@jumbosushi jumbosushi commented Oct 11, 2016

As requested by @ljharb on issue #846, this pr adds tests for --silent flag for "run" and "exec" commands

The tests for "exec" seems to exist already but in a different naming convention, so I renamed to match other tests

@ljharb ljharb added testing Stuff related to testing nvm itself. needs followup We need some info or action from whoever filed this issue/PR. labels Oct 11, 2016
@ljharb
Copy link
Member

ljharb commented Oct 11, 2016

Thanks!!

@jumbosushi jumbosushi force-pushed the add-silent-flag-tests branch 4 times, most recently from d11bc3f to 120f7b4 Compare October 12, 2016 14:19
@jumbosushi
Copy link
Contributor Author

Hmm do you know why it's still failing? The output and expected output should be matching now 🤔
OUTPUT=<0.10.7> EXPECTED_OUTPUT=<v0.10.7> [ <0.10.7> = <v0.10.7> ]

@jumbosushi jumbosushi force-pushed the add-silent-flag-tests branch 2 times, most recently from 3538de3 to eaa8148 Compare October 21, 2016 05:48
@ljharb
Copy link
Member

ljharb commented Jun 13, 2017

@jumbosushi are you still interested in completing this PR?

@ljharb ljharb force-pushed the add-silent-flag-tests branch from eaa8148 to c4fd0d1 Compare September 29, 2021 07:00
@ljharb ljharb changed the title Add silent flag tests [Tests] nvm exec/nvm run: add --silent tests Sep 29, 2021
@ljharb ljharb force-pushed the add-silent-flag-tests branch from c4fd0d1 to 639aaf9 Compare September 29, 2021 07:02
@ljharb
Copy link
Member

ljharb commented Sep 29, 2021

@jumbosushi i've rebased this, but the tests are failing.

@ljharb ljharb marked this pull request as draft September 29, 2021 07:13
@ljharb ljharb force-pushed the master branch 2 times, most recently from c6cfc3a to c20db2a Compare June 10, 2024 18:13
@ljharb ljharb force-pushed the add-silent-flag-tests branch 2 times, most recently from 13ae700 to 2cba2f7 Compare February 4, 2025 16:37
@ljharb ljharb marked this pull request as ready for review February 4, 2025 16:37
@ljharb ljharb force-pushed the add-silent-flag-tests branch 4 times, most recently from 93771a7 to 9f520c9 Compare February 4, 2025 17:19
@ljharb
Copy link
Member

ljharb commented Feb 4, 2025

Turns out that the expected output in the 2nd case was incorrect, and the 1st case wasn't testing the full output. That's now been fixed.

@ljharb ljharb merged commit 9f520c9 into nvm-sh:master Feb 4, 2025
177 of 179 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs followup We need some info or action from whoever filed this issue/PR. testing Stuff related to testing nvm itself.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants