You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As found out while reviewing #817, we have some inconsistencies in our tests where some of the tests don't use the testHeader and testMethod functions to test request header and method.
This is completely harmless. Though it's important to make sure it doesn't cause further confusion for the new contributors as it did in that PR initially.
Via this issue, I'd like to point it out and mention that I'd like to fix this inconsistency.
The text was updated successfully, but these errors were encountered:
Use testMethod to test the request method instead of manually comparing
it and testing. This change is to make things consistent through out the
code base.
Fixesgoogle#829
Use testMethod to test the request method instead of manually comparing
it and testing. This change is to make things consistent through out the
code base.
Fixes#829.
nbareil
pushed a commit
to nbareil/go-github
that referenced
this issue
May 1, 2018
Use testMethod to test the request method instead of manually comparing
it and testing. This change is to make things consistent through out the
code base.
Fixesgoogle#829.
As found out while reviewing #817, we have some inconsistencies in our tests where some of the tests don't use the
testHeader
andtestMethod
functions to test request header and method.One of the defaulter is https://github.com/google/go-github/blob/master/github/git_trees_test.go#L22.
This is completely harmless. Though it's important to make sure it doesn't cause further confusion for the new contributors as it did in that PR initially.
Via this issue, I'd like to point it out and mention that I'd like to fix this inconsistency.
The text was updated successfully, but these errors were encountered: