mirror of
https://github.com/nushell/nushell
synced 2024-12-28 14:03:09 +00:00
Fix test case for first command
This commit is contained in:
parent
6e49d0f84b
commit
ce54764bea
1 changed files with 1 additions and 4 deletions
|
@ -40,10 +40,7 @@ impl Command for First {
|
||||||
Example {
|
Example {
|
||||||
description: "Return the first item of a list/table",
|
description: "Return the first item of a list/table",
|
||||||
example: "[1 2 3] | first",
|
example: "[1 2 3] | first",
|
||||||
result: Some(Value::List {
|
result: Some(Value::test_int(1)),
|
||||||
vals: vec![Value::test_int(1)],
|
|
||||||
span: Span::unknown(),
|
|
||||||
}),
|
|
||||||
},
|
},
|
||||||
Example {
|
Example {
|
||||||
description: "Return the first 2 items of a list/table",
|
description: "Return the first 2 items of a list/table",
|
||||||
|
|
Loading…
Reference in a new issue