File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -133,9 +133,9 @@ func TestExpRpty(t *testing.T) {
133133 assert .NoError (t , err )
134134 })
135135
136- pty .ExpectMatch ( " #" )
136+ pty .ExpectMatchContext ( ctx , " #" )
137137 pty .WriteLine ("hostname" )
138- pty .ExpectMatch ( ct .Container .Config .Hostname )
138+ pty .ExpectMatchContext ( ctx , ct .Container .Config .Hostname )
139139 pty .WriteLine ("exit" )
140140 <- cmdDone
141141 })
Original file line number Diff line number Diff line change @@ -2092,9 +2092,9 @@ func TestSSH_Container(t *testing.T) {
20922092 assert .NoError (t , err )
20932093 })
20942094
2095- ptty .ExpectMatch ( " #" )
2095+ ptty .ExpectMatchContext ( ctx , " #" )
20962096 ptty .WriteLine ("hostname" )
2097- ptty .ExpectMatch ( ct .Container .Config .Hostname )
2097+ ptty .ExpectMatchContext ( ctx , ct .Container .Config .Hostname )
20982098 ptty .WriteLine ("exit" )
20992099 <- cmdDone
21002100 })
You can’t perform that action at this time.
0 commit comments