mirror of
https://github.com/nushell/nushell.git
synced 2025-02-02 11:39:55 +01:00
do not expand ranges and enable the to_nuon_range
test back
This commit is contained in:
parent
b151294ab2
commit
4cc61dfd14
@ -53,8 +53,6 @@ impl Command for ToNuon {
|
||||
let use_tabs = call.has_flag("tabs");
|
||||
|
||||
let span = call.head;
|
||||
// allow ranges to expand and turn into array
|
||||
let input = input.try_expand_range()?;
|
||||
let value = input.into_value(span);
|
||||
|
||||
let nuon_result = if raw {
|
||||
|
@ -177,7 +177,7 @@ fn to_nuon_records() {
|
||||
assert_eq!(actual.out, "true");
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[test]
|
||||
fn to_nuon_range() {
|
||||
let actual = nu!(
|
||||
cwd: "tests/fixtures/formats", pipeline(
|
||||
|
Loading…
Reference in New Issue
Block a user