From 55a94110287ad2b1a55953febac48422a9d3ba89 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 16 Feb 2025 18:21:02 +0100 Subject: style(treewide): Re-format --- crates/libmpv2/src/tests.rs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'crates/libmpv2/src/tests.rs') 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)); -- cgit 1.4.1