Skip to content

Commit b62e9a3

Browse files
committed
Cop lied to me
1 parent bb3f5e9 commit b62e9a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/test/opentelemetry/context_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@
304304
# Manipulate _this fiber's_ context stack.
305305
Context.attach(new_context)
306306
ensure
307-
locals.each_key { |k| t2.delete(k) }
307+
locals.each { |k, _| t2.delete(k) }
308308
end.resume
309309
end
310310
_(log_stream.string).must_be_empty
@@ -350,7 +350,7 @@
350350
# Manipulate _this thread's_ context stack.
351351
Context.attach(new_context)
352352
ensure
353-
locals.each_key { |k| t2.delete(k) }
353+
locals.each { |k, _| t2.delete(k) }
354354
end.join
355355
end
356356
_(log_stream.string).must_be_empty

0 commit comments

Comments
 (0)