@@ -47,7 +47,7 @@ func Run(t *testing.T, factory DeploymentFactory) {
47
47
t .Skip ("ConPTY appears to be inconsistent on Windows." )
48
48
}
49
49
50
- expectLine := func (r * bufio.Reader , matcher func (string ) bool ) {
50
+ expectLine := func (t * testing. T , r * bufio.Reader , matcher func (string ) bool ) {
51
51
for {
52
52
line , err := r .ReadString ('\n' )
53
53
require .NoError (t , err )
@@ -98,8 +98,8 @@ func Run(t *testing.T, factory DeploymentFactory) {
98
98
_ , err = conn .Write (data )
99
99
require .NoError (t , err )
100
100
101
- expectLine (bufRead , matchEchoCommand )
102
- expectLine (bufRead , matchEchoOutput )
101
+ expectLine (t , bufRead , matchEchoCommand )
102
+ expectLine (t , bufRead , matchEchoOutput )
103
103
})
104
104
105
105
t .Run ("SignedTokenQueryParameter" , func (t * testing.T ) {
@@ -148,7 +148,7 @@ func Run(t *testing.T, factory DeploymentFactory) {
148
148
conn := websocket .NetConn (ctx , wsConn , websocket .MessageBinary )
149
149
bufRead := bufio .NewReader (conn )
150
150
151
- expectLine (bufRead , matchEchoOutput )
151
+ expectLine (t , bufRead , matchEchoOutput )
152
152
})
153
153
})
154
154
0 commit comments