lsmem: Fix JSON output writing size as Number in bytes-mode

This commit is contained in:
Foorack
2025-02-09 15:11:13 +01:00
parent eb93139c3d
commit f34ebac3fe
2 changed files with 9 additions and 6 deletions

View File

@@ -65,11 +65,10 @@ fn test_json_all() {
sysroot_test_with_args("test_lsmem_json_all.expected", &["-J", "-a"]);
}
// FAILS, COMMENT FOR NOW - TODO
// #[test]
// fn test_json_bytes() {
// sysroot_test_with_args("test_lsmem_json_bytes.expected", &["-J", "-b"]);
// }
#[test]
fn test_json_bytes() {
sysroot_test_with_args("test_lsmem_json_bytes.expected", &["-J", "-b"]);
}
#[test]
fn test_json_noheadings() {