about summary refs log tree commit diff stats
path: root/crates/libmpv2/src/tests.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-16 18:21:02 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-16 18:21:02 +0100
commit55a94110287ad2b1a55953febac48422a9d3ba89 (patch)
treeca57ff2df49383e3f34a31df8c7c7e3d06470ba1 /crates/libmpv2/src/tests.rs
parentrefactor(yt/): Use the new `termsize` and `uu_fmt` crates (diff)
downloadyt-55a94110287ad2b1a55953febac48422a9d3ba89.zip
style(treewide): Re-format
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 68753fc..6106eb2 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));