Skip to content

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

Closed
@SethTisue

Description

@SethTisue

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions