mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 11:05:40 +02:00
Fix test case for first command
This commit is contained in:
@ -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",
|
||||||
|
Reference in New Issue
Block a user