Skip to content

Commit

Permalink
Merge pull request #334 from tgodzik/3.0.0-RC2
Browse files Browse the repository at this point in the history
Update to Scala 3.0.0-RC2
  • Loading branch information
tgodzik authored Mar 29, 2021
2 parents fbf9354 + 7f107f2 commit a64b358
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
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-RC1"
def scala3Previous = List("3.0.0-M3")
def scala3Stable = "3.0.0-RC2"
def scala3Previous = List("3.0.0-RC1")
def junitVersion = "4.13.2"
def gcp = "com.google.cloud" % "google-cloud-storage" % "1.113.13"
inThisBuild(
Expand Down
20 changes: 7 additions & 13 deletions tests/shared/src/test/scala/munit/TypeCheckSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,7 @@ class TypeCheckSuite extends FunSuite {
|msg.foobar
| ^
|""".stripMargin,
"3.0.0-M3" ->
"""|error:
|value foobar is not a member of String, but could be made available as an extension method.
|
|The following import might fix the problem:
|
| import munit.Clue.generate
|
|msg.foobar
| ^
|""".stripMargin,
"3.0.0-RC1" ->
"3" ->
"""|error:
|value foobar is not a member of String, but could be made available as an extension method.
|
Expand Down Expand Up @@ -76,7 +65,7 @@ class TypeCheckSuite extends FunSuite {
|package munit
| ^
|""".stripMargin,
"3" ->
"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
Expand All @@ -85,6 +74,11 @@ class TypeCheckSuite extends FunSuite {
|error: Declaration of value x not allowed here: only classes can have declared but undefined members
|package munit
| ^
|""".stripMargin,
"3.0.0-RC2" ->
"""|error: an identifier expected, but '=' found
|val x: = 2
| ^
|""".stripMargin
)
)
Expand Down

0 comments on commit a64b358

Please sign in to comment.