forked from extern/nushell
Requiring at least one member is no longer necessary.
This commit is contained in:
parent
cdb0eeafa2
commit
6e8b768d79
@ -308,19 +308,6 @@ fn get_more_than_one_member() {
|
||||
})
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn get_requires_at_least_one_member() {
|
||||
Playground::setup("first_test_3", |dirs, sandbox| {
|
||||
sandbox.with_files(vec![EmptyFile("andres.txt")]);
|
||||
|
||||
let actual = nu!(
|
||||
cwd: dirs.test(), "ls | get"
|
||||
);
|
||||
|
||||
assert!(actual.contains("[row: name"), format!("{:?}", actual));
|
||||
})
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn lines() {
|
||||
let actual = nu!(
|
||||
|
Loading…
Reference in New Issue
Block a user