From 59d879ef4e654ce53c2450e000ffa435f06c2f0e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 22 Jan 2025 12:31:30 -0300 Subject: Unify code into default repo format --- stmutil/context_test.go | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 stmutil/context_test.go (limited to 'stmutil/context_test.go') diff --git a/stmutil/context_test.go b/stmutil/context_test.go deleted file mode 100644 index 0a6b7c0..0000000 --- a/stmutil/context_test.go +++ /dev/null @@ -1,20 +0,0 @@ -package stmutil - -import ( - "context" - "testing" - - "github.com/stretchr/testify/assert" -) - -func TestContextEquality(t *testing.T) { - ctx := context.Background() - assert.True(t, ctx == context.Background()) - childCtx, cancel := context.WithCancel(ctx) - assert.True(t, childCtx != ctx) - assert.True(t, childCtx != ctx) - assert.Equal(t, context.Background(), ctx) - cancel() - assert.Equal(t, context.Background(), ctx) - assert.NotEqual(t, ctx, childCtx) -} -- cgit v1.2.3