diff options
author | Alex Crichton <alex@alexcrichton.com> | 2016-10-04 22:45:03 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2016-10-04 22:45:03 -0700 |
commit | fa02083388b5a63f7dd0781c667c6a98f29d48a4 (patch) | |
tree | 0ae2ad09352857d963c46ddd9fd62e09c399d278 /tests | |
parent | 1d15d4bf2da592f61b7f3764322836d4fca18782 (diff) | |
download | ssh2-rs-fa02083388b5a63f7dd0781c667c6a98f29d48a4.zip |
Fix sftp::ops test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sftp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sftp.rs b/tests/sftp.rs index 595fdec..d9ae8c5 100644 --- a/tests/sftp.rs +++ b/tests/sftp.rs @@ -38,7 +38,7 @@ fn ops() { let readlink = sftp.readlink(&td.path().join("foo2")).unwrap(); assert!(readlink == td.path().join("foo")); let realpath = sftp.realpath(&td.path().join("foo2")).unwrap(); - assert!(realpath == td.path().join("foo")); + assert_eq!(realpath, td.path().join("foo").canonicalize().unwrap()); let files = sftp.readdir(td.path()).unwrap(); assert_eq!(files.len(), 4); |