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

Made request success check consistent between scala and scala js #112

Merged
merged 1 commit into from
May 3, 2017

Conversation

BenFradet
Copy link
Contributor

This conforms to scalaj's way of checking that a request has succeeded and avoid the fact that you could have a 3xx (hopefully that's not something that github returns) that succeeds with scala js but fails in the jvm.

@codecov-io
Copy link

codecov-io commented May 2, 2017

Codecov Report

Merging #112 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #112      +/-   ##
==========================================
+ Coverage   88.14%   88.16%   +0.02%     
==========================================
  Files          36       36              
  Lines         506      507       +1     
  Branches        3        3              
==========================================
+ Hits          446      447       +1     
  Misses         60       60
Impacted Files Coverage Δ
...4s/shared/src/main/scala/github4s/HttpClient.scala 79.31% <100%> (+0.73%) ⬆️
...scala/github4s/HttpRequestBuilderExtensionJS.scala 86.95% <100%> (ø) ⬆️

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 b869e17...2241a90. Read the comment docs.

Copy link
Contributor

@fedefernandez fedefernandez left a comment

Choose a reason for hiding this comment

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

Good catch, looks good to me. Thanks!

@juanpedromoreno juanpedromoreno merged commit 46f6098 into master May 3, 2017
@juanpedromoreno juanpedromoreno deleted the consistent_req_success branch May 3, 2017 08:42
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.

4 participants