Skip to content

Commit 76423b9

Browse files
thewrzclaude
andcommitted
fix(tests): reconcile merge fallout with modified_ms field
The merge of main (#202 shared type-to-filter) brought in a test that constructs SoundEntry without the modified_ms field this PR introduces, breaking compilation; also restores rustfmt mod-declaration ordering in app/mod.rs disturbed by the same merge. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 716c217 commit 76423b9

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/app/filtering.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ mod tests {
249249
format: AudioFormat::Wav,
250250
duration_ms: None,
251251
category: "Animals".into(),
252+
modified_ms: None,
252253
}];
253254
app.sound_meta
254255
.set_display_name("goose", Some("Angry Bird".into()));

src/app/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ use crate::ui::theme::{self, Hh};
2121
use crate::ui::{now_playing, search_bar, slot_manager};
2222
use notices::{Notice, NoticeId, NoticeQueue};
2323

24-
mod library_scan;
2524
/// Play-dispatch coordination (`request_play` / `handle_decoded` /
2625
/// `start_playback`), extracted to keep this file from growing (#151).
2726
mod filtering;
27+
mod library_scan;
2828
mod macros;
2929
#[cfg(test)]
3030
mod notice_tests;

0 commit comments

Comments
 (0)