Skip to content

Commit c5d9e9e

Browse files
committed
new dotty, new verify, still boom
1 parent 16246c0 commit c5d9e9e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// shadow sbt-scalajs' crossProject and CrossType from Scala.js 0.6.x
22
import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
33

4-
crossScalaVersions in ThisBuild := Seq("0.17.0-RC1", "2.12.8", "2.11.12")
4+
crossScalaVersions in ThisBuild := Seq("0.21.0-RC1", "2.12.8", "2.11.12")
55
scalaVersion in ThisBuild := crossScalaVersions.value.head
66

77
lazy val `scala-unboxed-option` = crossProject(JSPlatform, JVMPlatform).
@@ -18,6 +18,6 @@ lazy val `scala-unboxed-option` = crossProject(JSPlatform, JVMPlatform).
1818
"-encoding", "utf8"
1919
),
2020

21-
libraryDependencies += "com.eed3si9n.verify" %%% "verify" % "0.1.0" % Test,
21+
libraryDependencies += "com.eed3si9n.verify" %%% "verify" % "0.2.0" % Test,
2222
scalacOptions in Test -= "-Xfatal-warnings"
2323
)

src/test/scala/uoption/test/UOptionTest.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import uoption._
66
import verify._
77

88
class UOptionTest extends BasicTestSuite {
9+
/*
910
test("caveats ==") {
1011
assert(USome(5) equals 5)
1112
assert(USome(USome(4)) equals 4)
@@ -62,6 +63,7 @@ class UOptionTest extends BasicTestSuite {
6263
val someSomeInt: UOption[UOption[Int]] = USome(USome(5))
6364
assert(someSomeInt.map(_.isDefined) == USome(true))
6465
}
66+
*/
6567

6668
test("USome(UNone) can be told apart from UNone") {
6769
def test(opt: UOption[UOption[Int]]): UOption[Boolean] =
@@ -72,6 +74,7 @@ class UOptionTest extends BasicTestSuite {
7274
assert(test(UNone) == UNone)
7375
}
7476

77+
/*
7578
test("pattern matching") {
7679
def test(opt: UOption[UOption[Int]]): Int = opt match {
7780
case UNone => -1
@@ -89,4 +92,5 @@ class UOptionTest extends BasicTestSuite {
8992
assert(UOption("hello") == USome("hello"))
9093
assert(UOption(UNone: UOption[String]) == USome(UNone))
9194
}
95+
*/
9296
}

0 commit comments

Comments
 (0)