Change instances of Value::string("foo", Span::test_data()) to Value::test_string("foo") (#7592)

This commit is contained in:
Leon
2022-12-24 19:25:38 +10:00
committed by GitHub
parent 3d682fe957
commit 11bdab7e61
50 changed files with 191 additions and 235 deletions

View File

@@ -29,10 +29,7 @@ impl Command for ColumnsDF {
description: "Dataframe columns",
example: "[[a b]; [1 2] [3 4]] | into df | columns",
result: Some(Value::List {
vals: vec![
Value::string("a", Span::test_data()),
Value::string("b", Span::test_data()),
],
vals: vec![Value::test_string("a"), Value::test_string("b")],
span: Span::test_data(),
}),
}]