Skip to content

tests fail on Scala version that will soon become 2.13.0-M3 #149

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

Closed
SethTisue opened this issue Jan 29, 2018 · 2 comments
Closed

tests fail on Scala version that will soon become 2.13.0-M3 #149

SethTisue opened this issue Jan 29, 2018 · 2 comments

Comments

@SethTisue
Copy link
Contributor

SethTisue commented Jan 29, 2018

in recent 2.13 community build runs such as https://scala-ci.typesafe.com/view/scala-2.13.x/job/scala-2.13.x-integrate-community-build/919/consoleFull we see:

----------------------------------- Failures -----------------------------------
X test.utest.examples.TestPathTests.'testPath.'foo 10ms 
  utest.AssertionError: assert(implicitly[utest.framework.TestPath].value == Seq("testPath", "foo"))
    utest.asserts.Asserts$.assertImpl(Asserts.scala:114)
    test.utest.examples.TestPathTests$.$anonfun$tests$3(TestPathTests.scala:9)
X test.utest.FrameworkTests.'catchCastError 0ms 
  utest.NoSuchTestException: [ah]
    utest.TestRunner$.runAsync(TestRunner.scala:60)
    utest.TestRunner$.run(TestRunner.scala:124)
    test.utest.FrameworkTests$.$anonfun$tests$79(FrameworkTests.scala:232)
X test.utest.FrameworkTests.'testSelection 0ms 
  utest.NoSuchTestException: [A]
    utest.TestRunner$.runAsync(TestRunner.scala:60)
    utest.TestRunner$.run(TestRunner.scala:124)
    test.utest.FrameworkTests$.$anonfun$tests$84(FrameworkTests.scala:249)
X test.utest.FrameworkTests.'testPath.'foo 1ms 
  utest.AssertionError: assert(implicitly[utest.framework.TestPath] == TestPath(Seq("testPath", "foo
  ")))
    utest.asserts.Asserts$.assertImpl(Asserts.scala:114)
    test.utest.FrameworkTests$.$anonfun$tests$107(FrameworkTests.scala:294)

the problem is reproducible outside of dbuild at https://github.com/scalacommunitybuild/utest/tree/community-build-2.13 with ++2.13.0-pre-79e5101

(perhaps related, perhaps not: the eta-expansions I had to add in scalacommunitybuild/utest@99e30c5 seem suspicious to me; I'll talk to the team about whether this is intentional or not) (never mind, it's correct, nullary eta expansion was deprecated in 2.12.0 and is an error in 2.13)

@SethTisue
Copy link
Contributor Author

2.13.0-M3 has been published

@SethTisue
Copy link
Contributor Author

it's green again in recent 2.13 community build runs

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

No branches or pull requests

1 participant