fix some typos (#7773)

# Description

Nothing changed, just fix some typos

# Tests + Formatting

Don't forget to add tests that cover your changes.

Make sure you've run and fixed any issues with these commands:

- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass

# After Submitting

If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.

Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com>
This commit is contained in:
Justin Ma
2023-01-16 19:43:46 +08:00
committed by GitHub
parent 26e6516626
commit f823c7cb5d
11 changed files with 36 additions and 36 deletions

View File

@ -76,7 +76,7 @@ fn filesystem_switch_back_to_previous_working_directory() {
// FIXME: jt: needs more work
#[ignore]
#[test]
fn filesytem_change_from_current_directory_using_relative_path_and_dash() {
fn filesystem_change_from_current_directory_using_relative_path_and_dash() {
Playground::setup("cd_test_4", |dirs, sandbox| {
sandbox.within("odin").mkdir("-");
@ -292,7 +292,7 @@ fn test_change_windows_drive() {
#[cfg(unix)]
#[test]
fn cd_permission_deined_folder() {
fn cd_permission_denied_folder() {
Playground::setup("cd_test_21", |dirs, sandbox| {
sandbox.mkdir("banned");
let actual = nu!(
@ -312,11 +312,11 @@ fn cd_permission_deined_folder() {
);
});
}
// FIXME: cd_permission_deined_folder on windows
// FIXME: cd_permission_denied_folder on windows
#[ignore]
#[cfg(windows)]
#[test]
fn cd_permission_deined_folder() {
fn cd_permission_denied_folder() {
Playground::setup("cd_test_21", |dirs, sandbox| {
sandbox.mkdir("banned");
let actual = nu!(