Requiring at least one member is no longer necessary.

This commit is contained in:
Andrés N. Robalino 2019-11-22 01:18:06 -05:00
parent cdb0eeafa2
commit 6e8b768d79

View File

@ -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!(