mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-25 10:11:17 -03:00
Add a test for the following behavior: if we try to `cd` to a directory, and it fails, and so we call realpath and discover that our $PWD is stale, and correct it and then try to `cd` again, and it STILL fails, then: 1. We report the error for the second (better) failure. 2. $PWD is not modified.