add format filesize (#5498)

* add format filesize

* add comment

* add comment

* remove comment
This commit is contained in:
WindSoilder
2022-05-10 19:35:14 +08:00
committed by GitHub
parent e4959d2f9f
commit 8030f7e9f0
5 changed files with 173 additions and 24 deletions

View File

@ -46,8 +46,6 @@ fn can_use_variables() {
assert_eq!(actual.out, "nu is a new type of shell");
}
// FIXME: jt: needs more work
#[ignore]
#[test]
fn format_filesize_works() {
Playground::setup("format_filesize_test_1", |dirs, sandbox| {
@ -71,8 +69,6 @@ fn format_filesize_works() {
})
}
// FIXME: jt: needs more work
#[ignore]
#[test]
fn format_filesize_works_with_nonempty_files() {
Playground::setup(