Fix test case for first command

This commit is contained in:
Stefan Stanciulescu 2021-11-02 09:06:51 +01:00
parent 6e49d0f84b
commit ce54764bea

View file

@ -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",