summaryrefslogtreecommitdiff
path: root/tests/channel.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/channel.rs')
-rw-r--r--tests/channel.rs1
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");