Another batch of command tests (#4496)

* Add a batch of command tests

* More tests
This commit is contained in:
JT
2022-02-16 07:38:02 -05:00
committed by GitHub
parent 644435bfe3
commit c4e1559f89
13 changed files with 43 additions and 70 deletions

View File

@ -1,7 +1,5 @@
use nu_test_support::{nu, pipeline};
// FIXME: jt: needs more work
#[ignore]
#[test]
fn counter_clockwise() {
let table = pipeline(
@ -34,7 +32,7 @@ fn counter_clockwise() {
let actual = nu!(
cwd: ".",
format!("{} | {}", table, pipeline(r#"
rotate counter-clockwise
rotate --ccw
| where Column0 == EXPECTED
| get Column1 Column2 Column3
| str collect "-"