Skip to content

Rebase scalatest community build on scalatest/3.1.x #7003

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

Merged
merged 2 commits into from
Aug 9, 2019

Conversation

nicolasstucki
Copy link
Contributor

No description provided.

@nicolasstucki nicolasstucki self-assigned this Aug 7, 2019
@nicolasstucki
Copy link
Contributor Author

We have some new issue with a java.lang.NoClassDefFoundError

[info] - should be used when GenSeq is being compared with shouldEqual matcher *** FAILED *** (2 milliseconds)
[info]   Expected exception org.scalatest.exceptions.TestFailedException to be thrown, but java.lang.NoClassDefFoundError was thrown (DifferSpec.scala:429)
[info]   org.scalatest.exceptions.TestFailedException:
[info]   at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
[info]   at org.scalatest.funspec.AnyFunSpec.newAssertionFailedException(AnyFunSpec.scala:1631)
[info]   at org.scalatest.Assertions.intercept(Assertions.scala:762)
[info]   at org.scalatest.funspec.AnyFunSpec.intercept(AnyFunSpec.scala:1631)
[info]   at org.scalactic.DifferSpec.$init$$$anonfun$132$$anonfun$13(DifferSpec.scala:430)
[info]   at org.scalatest.funspec.AnyFunSpecLike.org$scalatest$funspec$AnyFunSpecLike$ItWord$$_$apply$$anonfun$1(AnyFunSpecLike.scala:167)
[info]   at org.scalatest.Transformer.apply$$anonfun$1(Transformer.scala:22)
[info]   at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
[info]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
[info]   at org.scalatest.Transformer.apply(Transformer.scala:22)
[info]   at org.scalatest.Transformer.apply(Transformer.scala:21)
[info]   at org.scalatest.funspec.AnyFunSpecLike$$anon$1.apply(AnyFunSpecLike.scala:456)
[info]   at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
[info]   at org.scalatest.funspec.AnyFunSpec.withFixture(AnyFunSpec.scala:1631)
[info]   at org.scalatest.funspec.AnyFunSpecLike.invokeWithFixture$1(AnyFunSpecLike.scala:462)
[info]   at org.scalatest.funspec.AnyFunSpecLike.runTest$$anonfun$1(AnyFunSpecLike.scala:466)
[info]   at org.scalatest.SuperEngine.runTestImpl(Engine.scala:307)
[info]   at org.scalatest.funspec.AnyFunSpecLike.runTest(AnyFunSpecLike.scala:466)

@liufengyun, could you investigate this one?

@liufengyun
Copy link
Contributor

OK, I'll have a look

@liufengyun liufengyun marked this pull request as ready for review August 9, 2019 09:52
@nicolasstucki
Copy link
Contributor Author

Cool. I see that you could revert the workarounds I added previously. We can probably squash dotty-staging/scalatest@6a4c896 and dotty-staging/scalatest@d8c3df8 with dotty-staging/scalatest@db67eb2. This would minimize the diff with scalatest/3.1.x.

@nicolasstucki
Copy link
Contributor Author

Note that this uses the scalatest branch https://github.com/dotty-staging/scalatest/commits/dotty-community-build.

Copy link
Contributor

@anatoliykmetyuk anatoliykmetyuk left a comment

Choose a reason for hiding this comment

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

LGTM, very small diff between this and upstream 👍

@anatoliykmetyuk anatoliykmetyuk merged commit d0e445e into scala:master Aug 9, 2019
@anatoliykmetyuk anatoliykmetyuk deleted the update-scalatest branch August 9, 2019 12:52
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