Skip to content

Commit f77df6a

Browse files
glenk@galkam.com.auglenk@galkam.com.au
glenk@galkam.com.au
authored and
glenk@galkam.com.au
committed
Ensure SendWindowChangeRequest is called once.
1 parent ec60725 commit f77df6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Renci.SshNet.Tests/Classes/ShellStreamTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ public void WindowChangeRequest_ShouldReturnTrueWhenResultSucceeds()
131131
It.IsAny<uint>(), It.IsAny<uint>(),
132132
It.IsAny<uint>(), It.IsAny<uint>())).Returns(true);
133133
Assert.IsTrue(shellStream.WindowChangeRequest(80, 25, 0, 0));
134+
_channelSessionMock.Verify(v => v.SendWindowChangeRequest(80,25,0,0), Times.Once());
134135
}
135136

136137
private ShellStream CreateShellStream()

0 commit comments

Comments
 (0)