Skip to content

Commit

Permalink
Merge pull request #351 from gabro/scala3-rc3
Browse files Browse the repository at this point in the history
  • Loading branch information
gabro authored Apr 19, 2021
2 parents 35d8684 + 4fcb1c6 commit 0921577
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 17 deletions.
4 changes: 2 additions & 2 deletions bin/test-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ coursier resolve \
org.scalameta:munit_2.11:$version \
org.scalameta:munit_2.12:$version \
org.scalameta:munit_2.13:$version \
org.scalameta:munit_3.0.0-RC1:$version \
org.scalameta:munit_3.0.0-RC2:$version \
org.scalameta:munit_3.0.0-RC3:$version \
org.scalameta:munit_native0.4_2.11:$version \
org.scalameta:munit_native0.4_2.12:$version \
org.scalameta:munit_native0.4_2.13:$version \
Expand All @@ -20,8 +20,8 @@ coursier resolve \
org.scalameta:munit-scalacheck_2.11:$version \
org.scalameta:munit-scalacheck_2.12:$version \
org.scalameta:munit-scalacheck_2.13:$version \
org.scalameta:munit-scalacheck_3.0.0-RC1:$version \
org.scalameta:munit-scalacheck_3.0.0-RC2:$version \
org.scalameta:munit-scalacheck_3.0.0-RC3:$version \
org.scalameta:munit-scalacheck_native0.4_2.11:$version \
org.scalameta:munit-scalacheck_native0.4_2.12:$version \
org.scalameta:munit-scalacheck_native0.4_2.13:$version \
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ def previousVersion = "0.7.0"
def scala213 = "2.13.4"
def scala212 = "2.12.13"
def scala211 = "2.11.12"
def scala3Stable = "3.0.0-RC2"
def scala3Previous = List("3.0.0-RC1")
def scala3Stable = "3.0.0-RC3"
def scala3Previous = List("3.0.0-RC2")
def junitVersion = "4.13.2"
def gcp = "com.google.cloud" % "google-cloud-storage" % "1.113.14"
inThisBuild(
Expand Down
4 changes: 2 additions & 2 deletions tests/shared/src/test/scala/munit/ClueSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ClueSuite extends BaseSuite {

// Disabled on Dotty because the starting position doesn't include opening "("
check(
"lambda".tag(NoDotty),
"lambda",
{ (y: String) => y.head },
"(y: String) => y.head"
)
Expand Down Expand Up @@ -83,7 +83,7 @@ class ClueSuite extends BaseSuite {
clues: Clues,
expected: String
)(implicit loc: Location): Unit = {
test(options.tag(NoDotty)) {
test(options) {
val obtained = munitPrint(clues)
assertNoDiff(obtained, expected)
}
Expand Down
12 changes: 1 addition & 11 deletions tests/shared/src/test/scala/munit/TypeCheckSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,7 @@ class TypeCheckSuite extends FunSuite {
|val x: = 2
| ^
|""".stripMargin,
"3.0.0-RC1" ->
// NOTE(olafur): I'm not sure what's going on with the second errors but
// that's what Dotty reports.
"""|error: an identifier expected, but '=' found
|val x: = 2
| ^
|error: Declaration of value x not allowed here: only classes can have declared but undefined members
|package munit
| ^
|""".stripMargin,
"3.0.0-RC2" ->
"3" ->
"""|error: an identifier expected, but '=' found
|val x: = 2
| ^
Expand Down

0 comments on commit 0921577

Please sign in to comment.