diff options
author | Alex Crichton <alex@alexcrichton.com> | 2015-07-22 12:29:41 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2015-07-22 12:29:41 -0700 |
commit | 8f7703ba695d7b254a9ac2e91c58cdfc6a0cbda4 (patch) | |
tree | 4033ab9e844169cafbc9f86238e824c2f64eb113 /tests | |
parent | e5d87917b3b694463ae482b169433e0849bf0a38 (diff) | |
download | ssh2-rs-8f7703ba695d7b254a9ac2e91c58cdfc6a0cbda4.zip |
Make a test less flaky
Diffstat (limited to 'tests')
-rw-r--r-- | tests/channel.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/channel.rs b/tests/channel.rs index e25d4c8..94b7cf8 100644 --- a/tests/channel.rs +++ b/tests/channel.rs @@ -32,7 +32,6 @@ fn writing_data() { let mut channel = sess.channel_session().unwrap(); channel.exec("read foo && echo $foo").unwrap(); channel.write_all(b"foo\n").unwrap(); - channel.close().unwrap(); let mut output = String::new(); channel.read_to_string(&mut output).unwrap(); assert_eq!(output, "foo\n"); |