mirror of
https://github.com/nushell/nushell
synced 2024-12-27 13:33:16 +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 {
|
||||
description: "Return the first item of a list/table",
|
||||
example: "[1 2 3] | first",
|
||||
result: Some(Value::List {
|
||||
vals: vec![Value::test_int(1)],
|
||||
span: Span::unknown(),
|
||||
}),
|
||||
result: Some(Value::test_int(1)),
|
||||
},
|
||||
Example {
|
||||
description: "Return the first 2 items of a list/table",
|
||||
|
|
Loading…
Reference in a new issue