Formatting
This commit is contained in:
@@ -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};
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user