nushell/crates/nu-cli/tests
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
..
commands Fix "mv allows moving a directory into itself" (#2619) 2020-10-01 14:01:05 +13:00
format_conversions Remove trim in favor of str trim (#2560) 2020-09-16 15:59:32 -04:00
main.rs Add (near) automatic testing for command examples (#1777) 2020-05-18 08:56:01 -04:00