Skip to content

Commit

Permalink
Cop lied to me
Browse files Browse the repository at this point in the history
  • Loading branch information
fbogsany committed Feb 6, 2025
1 parent bb3f5e9 commit b62e9a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/test/opentelemetry/context_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
# Manipulate _this fiber's_ context stack.
Context.attach(new_context)
ensure
locals.each_key { |k| t2.delete(k) }
locals.each { |k, _| t2.delete(k) }
end.resume
end
_(log_stream.string).must_be_empty
Expand Down Expand Up @@ -350,7 +350,7 @@
# Manipulate _this thread's_ context stack.
Context.attach(new_context)
ensure
locals.each_key { |k| t2.delete(k) }
locals.each { |k, _| t2.delete(k) }
end.join
end
_(log_stream.string).must_be_empty
Expand Down

0 comments on commit b62e9a3

Please sign in to comment.