tests compile again

This commit is contained in:
🪞👃🪞 2025-05-09 22:11:15 +03:00
parent 5c74ffd916
commit 9e8572ae0f
5 changed files with 51 additions and 48 deletions

View file

@ -11,7 +11,10 @@ impl HasClips for ExampleClips {
}
}
fn main () -> Result<(), Box<dyn std::error::Error>> {
let mut clips = ExampleClips(Arc::new(vec![].into()));
PoolClipCommand::Import(0, std::path::PathBuf::from("./example.mid")).execute(&mut clips)?;
let mut clips = MidiPool::default();//ExampleClips(Arc::new(vec![].into()));
PoolClipCommand::Import {
index: 0,
path: std::path::PathBuf::from("./example.mid")
}.execute(&mut clips)?;
Ok(())
}