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

Find and replace unicode arrows #297

Closed
wants to merge 7 commits into from
Closed

Find and replace unicode arrows #297

wants to merge 7 commits into from

Conversation

duanebester
Copy link
Contributor

No description provided.

@duanebester
Copy link
Contributor Author

Seeing the following in the CI logs if anyone can advise? -

The command "if [ "$SCALAENV" = "jvm" ]; then sbt ++$TRAVIS_SCALA_VERSION $SBT_JAVA_OPT validateJVM; elif [ "$SCALAENV" = "js" ]; then sbt ++$TRAVIS_SCALA_VERSION $SBT_JAVA_OPT compile; sbt ++$TRAVIS_SCALA_VERSION $SBT_JAVA_OPT validateJS; elif [ "$G4SBUILD" = "docs" ]; then sbt ++$TRAVIS_SCALA_VERSION $SBT_JAVA_OPT docs/tut; else echo "You might not be invited to the party"; fi" exited with 1.

Copy link
Contributor

@BenFradet BenFradet left a comment

Choose a reason for hiding this comment

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

Thanks 👍

response.toOption map { r ⇒
r.result.isEmpty shouldBe true
r.statusCode shouldBe okStatusCode
}
Copy link
Contributor

@BenFradet BenFradet Nov 28, 2019

Choose a reason for hiding this comment

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

this works on master, can you rebase or if it's already done leave it as is?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, sure thing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@BenFradet
When I checkout this main repo and run sbt validateJVM it fails

$ git clone git@github.com:47deg/github4s.git
$ cd github4s/
$ sbt validateJVM
# ...
[info] - should return an empty list when an invalid ref is passed *** FAILED ***
[info]   Left(github4s.GithubResponses$UnsuccessfulHttpRequest: Failed invoking with status : 404 body : 
[info]    ) was not right (ApiSpec.scala:406)
# ...
[info] Tests: succeeded 229, failed 1, canceled 0, ignored 101, pending 0
[info] *** 1 TEST FAILED ***
[error] Failed tests:
[error] 	github4s.unit.ApiSpec
[error] (Test / test) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 60 s, completed Nov 28, 2019, 1:06:14 PM

Copy link
Contributor

Choose a reason for hiding this comment

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

this test is very flaky, it works for me locally and on travis in master

Copy link
Contributor

Choose a reason for hiding this comment

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

logged #300 in this regard

@@ -80,8 +80,8 @@ class HttpRequestBuilder[C, M[_]](

def withAuth(accessToken: Option[String] = None) = {
val authHeader = accessToken match {
case Some(token) ⇒ Map("Authorization" → s"token $token")
case _ ⇒ Map.empty[String, String]
case Some(token) => Map("Authorization" → s"token $token")
Copy link
Contributor

Choose a reason for hiding this comment

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

should we to take care of as well? maybe in a separate PR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Was planning on a separate PR, i'll get a ticket started! Thanks

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