Remove with-symlink-targets flag from ls (#2334)

* Remove `with-symlink-targets` flag from `ls`

* Fix test to use `ls -l` to output all the columns of `ls`

* Fix error message

* Delete test that originally covered `ls -w`
This commit is contained in:
Joseph T. Lyons
2020-08-12 13:21:19 -04:00
committed by GitHub
parent 88555860f3
commit 1601aa2f49
4 changed files with 2 additions and 20 deletions

View File

@ -173,13 +173,6 @@ fn list_all_columns() {
);
let expected = ["name", "type", "size", "modified"].join("");
assert_eq!(actual.out, expected, "column names are incorrect for ls");
// Symbolic Links
let actual = nu!(
cwd: dirs.test(),
"ls -w | get | to md"
);
let expected = ["name", "type", "target", "size", "modified"].join("");
assert_eq!(actual.out, expected, "column names are incorrect for ls -w");
// Long
let actual = nu!(
cwd: dirs.test(),