You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PR tests were failing in CI because the mock gh executable path wasn't
being passed to the subprocess. Tests modified PATH with env::set_var() but
this only affected the current process, not subprocesses spawned by assert_cmd.
Changes:
- Add run_test_bin_with_env() helper to pass environment variables to subprocesses
- Update all PR tests that use mock gh to pass PATH explicitly
- Remove unnecessary env::set_var() and env::restore() calls
This fixes the test_list_command_with_pr_flag failure that was causing
CI to fail on the master branch after PR #45.
0 commit comments