Skip to content

Commit f29213f

Browse files
authored
Fix build error after sshnet#1286
1 parent c4f8992 commit f29213f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Renci.SshNet.IntegrationTests/SshClientTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public void Send_InputStream_to_Command()
3434

3535
using (var inputStream = command.CreateInputStream())
3636
{
37-
inputStream.Write(inputByteArray);
37+
inputStream.Write(inputByteArray, 0, inputByteArray.Length);
3838
}
3939

4040
command.EndExecute(asyncResult);

0 commit comments

Comments
 (0)