mirror of
https://github.com/nushell/nushell.git
synced 2025-05-01 16:44:27 +02:00
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]
|
#[test]
|
||||||
fn lines() {
|
fn lines() {
|
||||||
let actual = nu!(
|
let actual = nu!(
|
||||||
|
Loading…
Reference in New Issue
Block a user