common: Include the recordings' size in the listing.
[gps-watch.git] / test / logger_test.rs
index b11005568bdb95dacfc6327d870ac67a79aeaaa4..cf4984a3d4dd562ec7d642311cc039061d993e60 100644 (file)
@@ -425,7 +425,7 @@ fn list_recordings1() {
     let num_bytes_read = file.read(&mut listing_raw).unwrap();
 
     let expected_bytes = b"\
-2020-01-07 19:27:30              1\n";
+2020-01-07 19:27:30       4K       1\n";
 
     assert_eq!(String::from_utf8(expected_bytes.to_vec()).unwrap(),
                String::from_utf8(listing_raw[0..num_bytes_read].to_vec()).unwrap());
@@ -477,7 +477,7 @@ fn list_recording1_multi_sector() {
     let num_bytes_read = file.read(&mut listing_raw).unwrap();
 
     let expected_bytes = b"\
-2020-01-09 12:11:33              1\n";
+2020-01-09 12:11:33       8K       1\n";
 
     assert_eq!(String::from_utf8(expected_bytes.to_vec()).unwrap(),
                String::from_utf8(listing_raw[0..num_bytes_read].to_vec()).unwrap());