Make format support nested column and use variable (#5570)

* fix format for nested structure

* make little revert

* add tests

* fix format

* better comment

* make better comment
This commit is contained in:
WindSoilder
2022-05-18 19:08:43 +08:00
committed by GitHub
parent 3e09158afc
commit 5fa42eeb8c
3 changed files with 128 additions and 43 deletions

View File

@ -16,8 +16,6 @@ fn creates_the_resulting_string_from_the_given_fields() {
assert_eq!(actual.out, "nu has license ISC");
}
// FIXME: jt: needs more work
#[ignore]
#[test]
fn given_fields_can_be_column_paths() {
let actual = nu!(
@ -31,8 +29,6 @@ fn given_fields_can_be_column_paths() {
assert_eq!(actual.out, "nu is a new type of shell");
}
// FIXME: jt: needs more work
#[ignore]
#[test]
fn can_use_variables() {
let actual = nu!(