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

test(shell): fix failing tests #4969

Merged
merged 1 commit into from
Oct 18, 2022
Merged

test(shell): fix failing tests #4969

merged 1 commit into from
Oct 18, 2022

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Oct 18, 2022

What's the problem this PR addresses?

We were running some test by calling missing binaries to check for the || and && operators. While it worked, it seems that on Windows some extra cruft is printed on stderr, tainting the expectations.

How did you fix it?

Instead of calling a non-existent binary, we now just call the false builtin (which has the same effect but doesn't output anything).

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@merceyz merceyz changed the title Update shell.test.ts test(shell): fix failing tests Oct 18, 2022
@merceyz merceyz merged commit 1379b71 into master Oct 18, 2022
@merceyz merceyz deleted the mael/inexistent-to-false branch October 18, 2022 14:52
merceyz pushed a commit that referenced this pull request Oct 22, 2023
Update shell.test.ts

(cherry picked from commit 1379b71)
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.

2 participants