forked from extern/nushell
Change instances of Value::string("foo", Span::test_data())
to Value::test_string("foo")
(#7592)
This commit is contained in:
2
crates/nu-command/src/env/export_env.rs
vendored
2
crates/nu-command/src/env/export_env.rs
vendored
@ -65,7 +65,7 @@ impl Command for ExportEnv {
|
||||
Example {
|
||||
description: "Set an environment variable and examine its value",
|
||||
example: r#"export-env { let-env SPAM = 'eggs' }; $env.SPAM"#,
|
||||
result: Some(Value::string("eggs", Span::test_data())),
|
||||
result: Some(Value::test_string("eggs")),
|
||||
},
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user