From ce54764bea9847f814017dacdfe39a46acce5cae Mon Sep 17 00:00:00 2001 From: Stefan Stanciulescu Date: Tue, 2 Nov 2021 09:06:51 +0100 Subject: [PATCH] Fix test case for first command --- crates/nu-command/src/filters/first.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/nu-command/src/filters/first.rs b/crates/nu-command/src/filters/first.rs index 10b778068c..873e07026c 100644 --- a/crates/nu-command/src/filters/first.rs +++ b/crates/nu-command/src/filters/first.rs @@ -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",