mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
test: rename ExpectMatchContext to ExpectMatch (#25998)
Cleans the last few instances of ExpectMatch that didn't use the new `(ctx, ...)` variant, then deletes the deprecated method and renames `ExpectMatchContext` to drop the `Context` suffix.
This commit is contained in:
+1
-1
@@ -283,7 +283,7 @@ func TestDERPHeaders(t *testing.T) {
|
||||
assert.NoError(t, err)
|
||||
})
|
||||
|
||||
stdout.ExpectMatchContext(ctx, "pong from "+workspace.Name)
|
||||
stdout.ExpectMatch(ctx, "pong from "+workspace.Name)
|
||||
<-cmdDone
|
||||
|
||||
require.Greater(t, derpCalled.Load(), int64(0), "expected /derp to be called at least once")
|
||||
|
||||
Reference in New Issue
Block a user