nushell/crates/nu-cli/tests/commands/move_
Luccas Mateus 66061192f8
Fix "mv allows moving a directory into itself" (#2619)
* make sort-by fail gracefully if mismatched types are compared

* Added a test to check if sorted-by with invalid types exists gracefully

* Linter changes

* removed redundant pattern matching

* Changed the error message

* Added a comma after every argument

* Changed the test to accomodate the new err messages

* Err message for sort-by invalid types now shows the mismatched types

* Lints problems

* Changed unwrap to expect

* Added the -f flag to rm command

Now when you a use rm -f there will be no error message, even if the
file doesnt actually exist

* Lint problems

* Fixed the wrong line

* Removed println

* Spelling mistake

* Fix problems when you mv a file into itself

* Lint mistakes

* Remove unecessary filtering in most cases
2020-10-01 14:01:05 +13:00
..
column.rs Remove trim in favor of str trim (#2560) 2020-09-16 15:59:32 -04:00
mod.rs Add "move column" command. (#2123) 2020-07-06 10:27:01 -05:00
mv.rs Fix "mv allows moving a directory into itself" (#2619) 2020-10-01 14:01:05 +13:00