Serial-ATA / lofty-rs

Audio metadata library
Apache License 2.0
191 stars 36 forks source link

ogg_pager: test fails #150

Closed tenzap closed 1 year ago

tenzap commented 1 year ago

Reproducer

No response

Summary

$ cargo test

    Updating crates.io index
   Compiling byteorder v1.4.3
   Compiling ogg_pager v0.5.0 (/mnt/packages/git_repos/dpkg/debcargo-conf/build/ogg-pager)
    Finished test [unoptimized + debuginfo] target(s) in 1.91s
     Running unittests src/lib.rs (target/debug/deps/ogg_pager-e2195aa5bf33c666)

running 2 tests
test tests::paginate_large ... FAILED
test tests::opus_ident_header ... FAILED

failures:

---- tests::paginate_large stdout ----
thread 'tests::paginate_large' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/lib.rs:224:77

---- tests::opus_ident_header stdout ----
thread 'tests::opus_ident_header' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/lib.rs:215:75
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    tests::opus_ident_header
    tests::paginate_large

test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

error: test failed, to rerun pass `--lib`

Expected behavior

No response

Assets

No response

Serial-ATA commented 1 year ago

Assuming this is related to #157, reopen if not.

tenzap commented 1 year ago

Indeed it is the same request as #157 but for ogg_pager.

However, here compressed size of the missing test_assets dir is ~ 3kB.

I let you reopen if you want, I don't have that option.