diff --git a/cli/templatepull_test.go b/cli/templatepull_test.go index ec7beb619606e..1b1d51b0ccd02 100644 --- a/cli/templatepull_test.go +++ b/cli/templatepull_test.go @@ -328,7 +328,7 @@ func TestTemplatePull_ToDir(t *testing.T) { require.NoError(t, inv.Run()) - // Validate behaviour of choosing template name in the absence of an output path argument. + // Validate behavior of choosing template name in the absence of an output path argument. destPath := actualDest if destPath == "" { destPath = template.Name diff --git a/coderd/database/dbmem/dbmem.go b/coderd/database/dbmem/dbmem.go index 9c78858e86c93..89898f0efe55a 100644 --- a/coderd/database/dbmem/dbmem.go +++ b/coderd/database/dbmem/dbmem.go @@ -91,7 +91,7 @@ func New() database.Store { _, err = q.InsertAllUsersGroup(context.Background(), defaultOrg.ID) if err != nil { - panic(fmt.Errorf("failed to create default group: %w", err)) + panic(xerrors.Errorf("failed to create default group: %w", err)) } q.defaultProxyDisplayName = "Default"