forked from extern/nushell
Fix test case for first command
This commit is contained in:
parent
6e49d0f84b
commit
ce54764bea
@ -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 New Issue
Block a user