Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the use of a variable on range scope #238

Merged
merged 2 commits into from
Oct 10, 2019

Conversation

diegobernardes
Copy link
Contributor

Description of changes:
Capture the variable during the loop to prevent concurrency problems.

As is, the code isn't wrong, but if concurrency is introduced in the
tests, this gonna be a problem.
@codecov-io
Copy link

codecov-io commented Oct 9, 2019

Codecov Report

Merging #238 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #238   +/-   ##
=======================================
  Coverage   74.44%   74.44%           
=======================================
  Files          20       20           
  Lines         677      677           
=======================================
  Hits          504      504           
  Misses        128      128           
  Partials       45       45

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 319e4b3...59d18f3. Read the comment docs.

@bmoffatt bmoffatt merged commit 81cc163 into aws:master Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants