summaryrefslogtreecommitdiff
path: root/crates/nu-utils/src
diff options
context:
space:
mode:
authorDevyn Cairns <devyn.cairns@gmail.com>2024-04-05 20:57:47 -0700
committerGitHub <noreply@github.com>2024-04-06 11:57:47 +0800
commit16cbed7d6e93806d5b94bcbb90297b030b4796c9 (patch)
treea5690b8c18b27f67ea63359e84c0562c193b3215 /crates/nu-utils/src
parent0e36c43c64d2089e3af50d78b37e0ff12f083caa (diff)
Fix some of the tests in `tests::shell` (#12417)
# Description Some of the tests in `tests::shell` were using `sh` unnecessarily, and had `#[cfg(not(windows))]` when they should be testable on Windows if `sh` is not used. I also found that they were using `.expect()` incorrectly, under the assumption that that would check their output, when really an `assert_eq!` on the output is needed to do that. So these tests weren't even really working properly before. # User-Facing Changes None # Tests + Formatting - :green_circle: `toolkit fmt` - :green_circle: `toolkit clippy` - :green_circle: `toolkit test` - :green_circle: `toolkit test stdlib`
Diffstat (limited to 'crates/nu-utils/src')
0 files changed, 0 insertions, 0 deletions