Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1616b6e

Browse files
committed
Fix error type
1 parent 29983eb commit 1616b6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/vscodessh_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func TestVSCodeSSH(t *testing.T) {
5656
go func() {
5757
//nolint // The above seems reasonable for a one-off test.
5858
err := cmd.ExecuteContext(context.WithValue(ctx, "fs", fs))
59-
assert.NoError(t, err)
59+
assert.ErrorIs(t, err, context.Canceled)
6060
close(done)
6161
}()
6262
require.Eventually(t, func() bool {

0 commit comments

Comments
 (0)