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

Update shell test regex to support macOS development #46

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

drewbrew
Copy link
Contributor

Fixes #45 because the default shell on macOS returns /bin/sh: oof: command not found\n which doesn't quite match the regex provided.

After discussion with @iurisilvio, using a fairly lax regex which just looks for "oof" followed by "not found" is good enough.

Fixes businho#45 because the default shell on macOS returns
`/bin/sh: oof: command not found\n` which doesn't quite match the
regex provided.

After discussion with @iurisilvio, using a fairly lax regex which
just looks for "oof" followed by "not found" is good enough.
@drewbrew
Copy link
Contributor Author

Looks like the tests aren't working because I'm working from a fork and don't have the same credentials

Copy link

codecov bot commented Nov 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (295adee) 0.00% compared to head (956c359) 0.00%.

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #46   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          8       8           
  Lines        330     330           
=====================================
  Misses       330     330           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@iurisilvio iurisilvio merged commit 27f1229 into businho:main Nov 19, 2023
4 of 6 checks passed
@iurisilvio
Copy link
Collaborator

Thanks! I'll fix the problem with the CI later.

@drewbrew drewbrew deleted the update-regex-shell-test branch November 19, 2023 19:00
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.

test_shell_error() doesn't catch the right regex on macOS in zsh
2 participants