nushell/crates/nu-path/src
Antoine Stevan aaa21c1619
make *dots* tests easier to read (#9467)
related to
- https://github.com/nushell/nushell/pull/8544

cc/ @jntrnr @ahkrr 

# Description
some of the tests in the `dots.rs` file are a bit hard to read because
some of the paths look like command calls 🤔

in an attempt to making them easier to read, in the tests of `dots.rs`,
this PR
- replaces `file .../` with `not_a_cmd.../` because it's not a call to
the `file` command
- removes the space in `not_a_cmd .../` to see it's not a command call
- adds a bit more `not a cmd` to the last tests, to be consistent with
the other tests

# User-Facing Changes
```
$nothing
```

# Tests + Formatting
- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
-  `toolkit test`
-  `toolkit test stdlib`
2023-06-20 20:28:10 +12:00
..
dots.rs make *dots* tests easier to read (#9467) 2023-06-20 20:28:10 +12:00
expansions.rs Try not to use verbatim paths for UNC shares (#6824) 2022-10-22 11:51:52 -05:00
helpers.rs Try not to use verbatim paths for UNC shares (#6824) 2022-10-22 11:51:52 -05:00
lib.rs Allow mv multiple files at once (#6103) 2022-07-23 07:51:41 -05:00
tilde.rs Fix typos and use more idiomatic assertions (#7755) 2023-01-15 15:03:32 +13:00
util.rs Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00