Formatting

This commit is contained in:
2026-04-19 15:35:10 +02:00
parent 041f9015ca
commit 0d5c2f5888
42 changed files with 612 additions and 357 deletions
+1 -1
View File
@@ -8,5 +8,5 @@ pub use constants::{
API_KEY_HEADER, CONTENT_TYPE_AUDIO_MP4, FIELD_AUDIO, FIELD_CASE_ID, FIELD_RECORDED_AT,
UPLOAD_PATH,
};
pub use oneliners::{OnelinerEntry, OnelinersResponse, ONELINERS_PATH};
pub use oneliners::{ONELINERS_PATH, OnelinerEntry, OnelinersResponse};
pub use timestamp::{filename_stem_to_recorded_at, now_rfc3339, recorded_at_to_filename_stem};
+4 -1
View File
@@ -129,7 +129,10 @@ mod tests {
fn extract_hhmm_shape_is_two_colon_two() {
let s = extract_hhmm("2026-04-18T10:32:00Z");
assert_eq!(s.len(), 5, "expected HH:MM, got {s}");
assert!(s.chars().nth(2) == Some(':'), "expected colon at index 2: {s}");
assert!(
s.chars().nth(2) == Some(':'),
"expected colon at index 2: {s}"
);
}
#[test]