aboutsummaryrefslogtreecommitdiffstats
path: root/crates/libmpv2/src/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libmpv2/src/tests.rs')
-rw-r--r--crates/libmpv2/src/tests.rs24
1 files changed, 12 insertions, 12 deletions
diff --git a/crates/libmpv2/src/tests.rs b/crates/libmpv2/src/tests.rs
index 6106eb2..68753fc 100644
--- a/crates/libmpv2/src/tests.rs
+++ b/crates/libmpv2/src/tests.rs
@@ -54,10 +54,10 @@ fn properties() {
0.6,
f64::round(subg * f64::powi(10.0, 4)) / f64::powi(10.0, 4)
);
- mpv.command("loadfile", &[
- "test-data/speech_12kbps_mb.wav",
- "append-play",
- ])
+ mpv.command(
+ "loadfile",
+ &["test-data/speech_12kbps_mb.wav", "append-play"],
+ )
.unwrap();
thread::sleep(Duration::from_millis(250));
@@ -185,10 +185,10 @@ fn events() {
fn node_map() {
let mpv = Mpv::new().unwrap();
- mpv.command("loadfile", &[
- "test-data/speech_12kbps_mb.wav",
- "append-play",
- ])
+ mpv.command(
+ "loadfile",
+ &["test-data/speech_12kbps_mb.wav", "append-play"],
+ )
.unwrap();
thread::sleep(Duration::from_millis(250));
@@ -217,10 +217,10 @@ fn node_map() {
fn node_array() -> Result<()> {
let mpv = Mpv::new()?;
- mpv.command("loadfile", &[
- "test-data/speech_12kbps_mb.wav",
- "append-play",
- ])
+ mpv.command(
+ "loadfile",
+ &["test-data/speech_12kbps_mb.wav", "append-play"],
+ )
.unwrap();
thread::sleep(Duration::from_millis(250));