bolcom / libunftp

Extensible, async, cloud orientated FTP(S) server library and the core of unFTP: https://github.com/bolcom/unFTP. Follow up and talk to us on https://t.me/unftp
Apache License 2.0
188 stars 35 forks source link

test regression in fileinfo_fmt #485

Closed asomers closed 1 year ago

asomers commented 1 year ago

PR #470 introduced a test regression:

> cargo test -p unftp-sbe-fs --lib tests::fileinfo_fmt
...
running 1 test
test tests::fileinfo_fmt ... FAILED

failures:

---- tests::fileinfo_fmt stdout ----
thread 'tests::fileinfo_fmt' panicked at crates/unftp-sbe-fs/src/tests.rs:169:5:
assertion failed: `(left == right)`

Diff < left / right > :
<-rwxr-xr-x            1            0            0              5  Jan 01 1970 tmp
>-rwxr-xr-x            1            0            0              5 Jan 01 00:00 tmp

cc @hirevo

Originally posted by @asomers in https://github.com/bolcom/libunftp/issues/470#issuecomment-1677901729

Hirevo commented 1 year ago

This test failure (which isn't really a regression) seems to now be fixed in commit 27b009a.

hannesdejager commented 1 year ago

Fixed