diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-11-28 21:33:46 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-28 21:33:46 +0100 |
| commit | b5378981acfeb5c2289b45ed617a8ff19074659e (patch) | |
| tree | 8de3c2653c02642966587afc16627cb45bfa35a3 /crates/libmpv2/src/tests.rs | |
| parent | build(flake.nix): Enable the `yt_dlp` package in the devShells python (diff) | |
| download | yt-b5378981acfeb5c2289b45ed617a8ff19074659e.zip | |
Diffstat (limited to '')
| -rw-r--r-- | crates/libmpv2/src/tests.rs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/crates/libmpv2/src/tests.rs b/crates/libmpv2/src/tests.rs index bcbc8f1..d3787a0 100644 --- a/crates/libmpv2/src/tests.rs +++ b/crates/libmpv2/src/tests.rs @@ -234,8 +234,17 @@ fn node_array() -> Result<()> { let filename = track.get("filename").unwrap(); assert_eq!( - filename.str().unwrap().chars().rev().take(30).collect::<String>(), - "test-data/speech_12kbps_mb.wav".chars().rev().collect::<String>() + filename + .str() + .unwrap() + .chars() + .rev() + .take(30) + .collect::<String>(), + "test-data/speech_12kbps_mb.wav" + .chars() + .rev() + .collect::<String>() ); Ok(()) |
