1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00

test(cli): add test cases (#16091)

Fixes: https://github.com/denoland/deno/issues/16090
This commit is contained in:
skanehira 2022-10-01 03:02:44 +09:00 committed by GitHub
parent 636b448f3c
commit 1058d1868f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,6 +52,8 @@ mod tests {
human_size((24_i64 * 1024 * 1024 * 1024 * 1024) as f64), human_size((24_i64 * 1024 * 1024 * 1024 * 1024) as f64),
"24TB" "24TB"
); );
assert_eq!(human_size(0_f64), "0B");
assert_eq!(human_size(-10_f64), "-10B");
} }
#[test] #[test]