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

Remove var usage from tests #18

Merged
merged 1 commit into from Sep 12, 2018
Merged

Remove var usage from tests #18

merged 1 commit into from Sep 12, 2018

Conversation

albertpastrana
Copy link
Owner

Codacy.com was reducing the qualiy of the code because
we were using var in some tests.

This commit basically uses AtomicInteger and AtomicBoolean
as mutable alternatives for the use of var.

For this use case it's exactly the same, but codacy
will be happier.

Signed-off-by: Albert Pastrana albert.pastrana@gmail.com

Codacy.com was reducing the qualiy of the code because
we were using `var` in some tests.

This commit basically uses AtomicInteger and AtomicBoolean
as mutable alternatives for the use of var.

For this use case it's exactly the same, but codacy
will be happier.

Signed-off-by: Albert Pastrana <albert.pastrana@gmail.com>
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling fd72860 on remove-var-from-tests into 4ed5c55 on master.

4 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling fd72860 on remove-var-from-tests into 4ed5c55 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling fd72860 on remove-var-from-tests into 4ed5c55 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling fd72860 on remove-var-from-tests into 4ed5c55 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling fd72860 on remove-var-from-tests into 4ed5c55 on master.

Copy link
Collaborator

@nathankleyn nathankleyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@nathankleyn nathankleyn merged commit 9d8947e into master Sep 12, 2018
@nathankleyn nathankleyn deleted the remove-var-from-tests branch September 12, 2018 08:08
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.

None yet

3 participants