We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 208eaf1 commit 6cfb62cCopy full SHA for 6cfb62c
coderd/coderd.go
@@ -38,6 +38,7 @@ import (
38
"cdr.dev/slog"
39
40
"github.com/coder/coder/buildinfo"
41
+ // Used for swagger docs.
42
_ "github.com/coder/coder/coderd/apidoc"
43
"github.com/coder/coder/coderd/audit"
44
"github.com/coder/coder/coderd/awsidentity"
coderd/workspaceapps_test.go
@@ -223,10 +223,9 @@ func TestWorkspaceApplicationAuth(t *testing.T) {
223
if c.expectRedirect == "" {
224
require.Error(t, err)
225
return
226
- } else {
227
- require.NoError(t, err)
228
- return
229
}
+ require.NoError(t, err)
+ return
230
231
232
t.Fatal("expected a failure but got a success")
0 commit comments