Skip to content

Commit 4e7c4c2

Browse files
committed
feat: remove gocritic markup relevant to coder/coder only
Signed-off-by: Spike Curtis <[email protected]>
1 parent f6e9ca7 commit 4e7c4c2

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

example_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ func newExampleTickCounter(ctx context.Context, clk quartz.Clock) *exampleTickCo
4040
// TestExampleTickerFunc demonstrates how to test the use of TickerFunc.
4141
func TestExampleTickerFunc(t *testing.T) {
4242
t.Parallel()
43-
// nolint:gocritic // trying to avoid Coder-specific stuff with an eye toward spinning this out
4443
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
4544
defer cancel()
4645

@@ -111,7 +110,6 @@ func (m *exampleLatencyMeasurer) LastLatency() time.Duration {
111110
func TestExampleLatencyMeasurer(t *testing.T) {
112111
t.Parallel()
113112

114-
// nolint:gocritic // trying to avoid Coder-specific stuff with an eye toward spinning this out
115113
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
116114
defer cancel()
117115

mock_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010

1111
func TestTimer_NegativeDuration(t *testing.T) {
1212
t.Parallel()
13-
// nolint:gocritic // trying to avoid Coder-specific stuff with an eye toward spinning this out
1413
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
1514
defer cancel()
1615

@@ -47,7 +46,6 @@ func TestTimer_NegativeDuration(t *testing.T) {
4746

4847
func TestAfterFunc_NegativeDuration(t *testing.T) {
4948
t.Parallel()
50-
// nolint:gocritic // trying to avoid Coder-specific stuff with an eye toward spinning this out
5149
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
5250
defer cancel()
5351

@@ -83,7 +81,6 @@ func TestAfterFunc_NegativeDuration(t *testing.T) {
8381

8482
func TestNewTicker(t *testing.T) {
8583
t.Parallel()
86-
// nolint:gocritic // trying to avoid Coder-specific stuff with an eye toward spinning this out
8784
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
8885
defer cancel()
8986

@@ -170,7 +167,6 @@ func TestNewTicker(t *testing.T) {
170167

171168
func TestPeek(t *testing.T) {
172169
t.Parallel()
173-
// nolint:gocritic // trying to avoid Coder-specific stuff with an eye toward spinning this out
174170
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
175171
defer cancel()
176172

0 commit comments

Comments
 (0)