forked from extern/nushell
engine-q merge
This commit is contained in:
@ -5,7 +5,11 @@ fn echo_range_is_lazy() {
|
||||
let actual = nu!(
|
||||
cwd: "tests/fixtures/formats", pipeline(
|
||||
r#"
|
||||
<<<<<<< HEAD
|
||||
echo 1..10000000000 | first 3 | to json
|
||||
=======
|
||||
echo 1..10000000000 | first 3 | to json --raw
|
||||
>>>>>>> 9259a56a28f1dd3a4b720ad815aa19c6eaf6adce
|
||||
"#
|
||||
));
|
||||
|
||||
@ -17,7 +21,11 @@ fn echo_range_handles_inclusive() {
|
||||
let actual = nu!(
|
||||
cwd: "tests/fixtures/formats", pipeline(
|
||||
r#"
|
||||
<<<<<<< HEAD
|
||||
echo 1..3 | to json
|
||||
=======
|
||||
echo 1..3 | each { $it } | to json --raw
|
||||
>>>>>>> 9259a56a28f1dd3a4b720ad815aa19c6eaf6adce
|
||||
"#
|
||||
));
|
||||
|
||||
@ -29,7 +37,11 @@ fn echo_range_handles_exclusive() {
|
||||
let actual = nu!(
|
||||
cwd: "tests/fixtures/formats", pipeline(
|
||||
r#"
|
||||
<<<<<<< HEAD
|
||||
echo 1..<3 | to json
|
||||
=======
|
||||
echo 1..<3 | each { $it } | to json --raw
|
||||
>>>>>>> 9259a56a28f1dd3a4b720ad815aa19c6eaf6adce
|
||||
"#
|
||||
));
|
||||
|
||||
@ -41,7 +53,11 @@ fn echo_range_handles_inclusive_down() {
|
||||
let actual = nu!(
|
||||
cwd: "tests/fixtures/formats", pipeline(
|
||||
r#"
|
||||
<<<<<<< HEAD
|
||||
echo 3..1 | to json
|
||||
=======
|
||||
echo 3..1 | each { $it } | to json --raw
|
||||
>>>>>>> 9259a56a28f1dd3a4b720ad815aa19c6eaf6adce
|
||||
"#
|
||||
));
|
||||
|
||||
@ -53,7 +69,11 @@ fn echo_range_handles_exclusive_down() {
|
||||
let actual = nu!(
|
||||
cwd: "tests/fixtures/formats", pipeline(
|
||||
r#"
|
||||
<<<<<<< HEAD
|
||||
echo 3..<1 | to json
|
||||
=======
|
||||
echo 3..<1 | each { $it } | to json --raw
|
||||
>>>>>>> 9259a56a28f1dd3a4b720ad815aa19c6eaf6adce
|
||||
"#
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user