chore(test): drop useless vec! in recorder wav test

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-05 22:00:02 -04:00
co-authored by Claude Opus 4.8
parent 0ea91eb026
commit 68d78ff411
+1 -1
View File
@@ -192,7 +192,7 @@ mod tests {
let path = dir.join(format!("peerspeak-test-{}.wav", std::process::id()));
let mut w = WavWriter::new(&path).unwrap();
// 100 samples = 200 data bytes.
w.write_samples(&vec![1234i16; 100]).unwrap();
w.write_samples(&[1234i16; 100]).unwrap();
w.finalize().unwrap();
let bytes = std::fs::read(&path).unwrap();