Skip to content

Commit 7f25436

Browse files
committed
remove some flaky string based tests that are different on my local compared to CI
1 parent 2f97a43 commit 7f25436

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

tests/fctx_test.go

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -171,30 +171,6 @@ func TestWithMetaDifferentMapAddress(t *testing.T) {
171171
data1 := fctx.Unwrap(err1)
172172
data2 := fctx.Unwrap(err2)
173173

174-
assert.Equal(t,
175-
`&context.valueCtx{
176-
Context: context.backgroundCtx{},
177-
key: fctx.contextKey{},
178-
val: map[string]string{"key1":"value1"},
179-
}`,
180-
pretty.Sprint(ctx1),
181-
"The map from the first context should be left unmodified by the second call to fctx.WithMeta",
182-
)
183-
184-
assert.Equal(t,
185-
`&context.valueCtx{
186-
Context: &context.valueCtx{
187-
Context: context.backgroundCtx{},
188-
key: fctx.contextKey{},
189-
val: map[string]string{"key1":"value1"},
190-
},
191-
key: fctx.contextKey{},
192-
val: map[string]string{"key1":"value1", "key2":"value2"},
193-
}`,
194-
pretty.Sprint(ctx2),
195-
"The second context value should contain both maps and the first only contains the first key-value pair.",
196-
)
197-
198174
assert.Equal(t,
199175
`map[string]string{"key1":"value1"}`,
200176
pretty.Sprint(data1),

0 commit comments

Comments
 (0)