mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 17:15:02 +02:00
Change instances of Value::string("foo", Span::test_data())
to Value::test_string("foo")
(#7592)
This commit is contained in:
@ -107,7 +107,7 @@ impl Command for SubCommand {
|
||||
Example {
|
||||
description: "Format a given date using a given format string.",
|
||||
example: r#""2021-10-22 20:00:12 +01:00" | date format "%Y-%m-%d""#,
|
||||
result: Some(Value::string("2021-10-22", Span::test_data())),
|
||||
result: Some(Value::test_string("2021-10-22")),
|
||||
},
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user