8000 chore: appease linter · coder/coder@c0b9d12 · GitHub
[go: up one dir, main page]

Skip to content

Commit c0b9d12

Browse files
chore: appease linter
1 parent 9412417 commit c0b9d12

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

agent/agentcontainers/api_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package agentcontainers_test
33
import (
44
"context"
55
"encoding/json"
6-
"errors"
76
"fmt"
87
"math/rand"
98
"net/http"
@@ -1717,7 +1716,7 @@ func TestAPI(t *testing.T) {
17171716
require.Equal(t, http.StatusAccepted, rec.Code)
17181717

17191718
// Given: We simulate an error running `devcontainer up`
1720-
simulatedError := errors.New("simulated error")
1719+
simulatedError := xerrors.New("simulated error")
17211720
testutil.RequireSend(ctx, t, fDCCLI.upErrC, simulatedError)
17221721

17231722
nowRecreateErrorTrap.MustWait(ctx).MustRelease(ctx)

0 commit comments

Comments
 (0)
0