pkg/expect: replace SendLine with Send method

This commit is contained in:
Gyu-Ho Lee
2016-04-03 10:21:23 -07:00
parent c280871714
commit f4eaa3f8fb
2 changed files with 4 additions and 4 deletions

View File

@@ -114,7 +114,7 @@ func (ep *ExpectProcess) Close() error {
return err
}
func (ep *ExpectProcess) SendLine(command string) error {
_, err := io.WriteString(ep.fpty, command+"\r\n")
func (ep *ExpectProcess) Send(command string) error {
_, err := io.WriteString(ep.fpty, command)
return err
}