Move ls back to last-known-good state (#6175)

* revert the recent ls changes

* cargo fmt
This commit is contained in:
JT
2022-07-29 11:00:54 +12:00
committed by GitHub
parent 10e463180e
commit 98e199f7b5
2 changed files with 134 additions and 312 deletions

View File

@ -335,28 +335,6 @@ fn lists_files_including_starting_with_dot() {
})
}
#[test]
fn lists_regular_files_using_multiple_asterisk_wildcards() {
Playground::setup("ls_test_10", |dirs, sandbox| {
sandbox.with_files(vec![
EmptyFile("los.txt"),
EmptyFile("tres.txt"),
EmptyFile("amigos.txt"),
EmptyFile("arepas.clu"),
]);
let actual = nu!(
cwd: dirs.test(), pipeline(
r#"
ls *.txt *.clu
| length
"#
));
assert_eq!(actual.out, "4");
})
}
#[test]
fn list_all_columns() {
Playground::setup("ls_test_all_columns", |dirs, sandbox| {