Commit 4b546e00 authored by Boris Mühmer's avatar Boris Mühmer
Browse files

removed some comments

parent fe982a2f
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -18,8 +18,6 @@ const (
)

type Expect struct {
	// bytes.Buffer
	// mb.MutexBuffer
	stdin       io.Reader
	stdout      io.Writer
	stderr      io.Writer
@@ -158,13 +156,7 @@ func (x *Expect) worker(started chan<- bool) {
			if !valid {
				continue
			}
			//stdin.Reset()
			//stdinWriter.Write([]byte(s))
			fmt.Fprintln(stdinWriter, s)
			//x.stdin.Reset()
			//x.stdin.Write([]byte(s))
			//io.WriteString(stdin, s)
			//fmt.Fprintln(x.stdin, s)
		case terminate, valid := <-x.terminateStream:
			if !valid {
				continue
+0 −4
Original line number Diff line number Diff line
@@ -24,10 +24,6 @@ func TestPasswdChange(t *testing.T) {
	}
	defer x.Close()

	//x.Wait(Out, "Current password", lp1Pass)
	//x.Wait(Out, "New password", lpNPass)
	//x.Wait(Out, "Retype new password", lpNPass)

	x.Wait(Err, "Current password", lp2Pass)
	x.Wait(Err, "New password", lpNPass)
	x.Wait(Err, "Retype new password", lpNPass)