summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-10-05 10:22:53 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-10-05 10:22:53 -0700
commit68ce4cf63ef107e7e477bd0cf2d52c90de30e6a3 (patch)
tree7b4a98560487a6239a8d014681b3418aaae5bd89 /tests
parent17dfa4b2359e62f760585719d3f75781bfa09794 (diff)
downloadssh2-rs-68ce4cf63ef107e7e477bd0cf2d52c90de30e6a3.zip
Remove what appears to be a bogus assert
Diffstat (limited to 'tests')
-rw-r--r--tests/channel.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/channel.rs b/tests/channel.rs
index 16f37d3..1a2a8fb 100644
--- a/tests/channel.rs
+++ b/tests/channel.rs
@@ -147,7 +147,6 @@ fn nonblocking_before_exit_code() {
channel.close().unwrap();
channel.wait_close().unwrap();
assert_eq!(output, "foo\n");
- assert!(::ssh2::Error::last_error(&sess).unwrap().code() == LIBSSH2_ERROR_EAGAIN);
assert!(channel.exit_status().unwrap() == 0);
}