Skip to content

Commit f6167b6

Browse files
committed
fix: Issue caught by ruleguard
1 parent 9478f17 commit f6167b6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

coderd/devtunnel/tunnel_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ func TestTunnel(t *testing.T) {
7878

7979
require.Eventually(t, func() bool {
8080
res, err := fTunServer.requestHTTP()
81-
require.NoError(t, err)
81+
if !assert.NoError(t, err) {
82+
return false
83+
}
8284
defer res.Body.Close()
8385
_, _ = io.Copy(io.Discard, res.Body)
8486

0 commit comments

Comments
 (0)