File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -171,30 +171,6 @@ func TestWithMetaDifferentMapAddress(t *testing.T) {
171
171
data1 := fctx .Unwrap (err1 )
172
172
data2 := fctx .Unwrap (err2 )
173
173
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
-
198
174
assert .Equal (t ,
199
175
`map[string]string{"key1":"value1"}` ,
200
176
pretty .Sprint (data1 ),
You can’t perform that action at this time.
0 commit comments