Skip to content

Commit

Permalink
Update and fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
som-snytt committed May 15, 2024
1 parent 2f71f5e commit e231592
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
val scala211 = "2.11.12"
val scala212 = "2.12.15"
val scala213 = "2.13.8"
val scala212 = "2.12.19"
val scala213 = "2.13.14"
val scala3 = "3.1.2"
val scalaFull = Seq(scala213, scala212, scala211, scala3)
ThisBuild / scalaVersion := scala213
Global / semanticdbEnabled := true
Global / semanticdbVersion := "4.5.0"
Global / semanticdbVersion := "4.9.3"

lazy val verify = "com.eed3si9n.verify" %% "verify" % "1.0.0"

Expand Down
4 changes: 2 additions & 2 deletions jvm/src/test/scala/org/expecty/ExpectyRenderingSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ExpectyRenderingSpec {

@Test
def object_apply(): Unit = {
if (Compat.scala == "3.0" || Compat.scala == "2.13") {
if (Compat.scala == "3.0") {
outputs("""assertion failed
List() == List(1, 2)
Expand Down Expand Up @@ -70,7 +70,7 @@ List() == List(1, 2)

@Test
def object_apply_2(): Unit = {
if (Compat.scala == "3.0" || Compat.scala == "2.13") {
if (Compat.scala == "3.0") {
outputs("""assertion failed
List(1, 2) == List()
Expand Down
4 changes: 2 additions & 2 deletions src/test/scala/RenderingTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ object RenderingTest extends verify.BasicTestSuite {
}

test("List.apply") {
if (Compat.scala == "3.0" || Compat.scala == "2.13") {
if (Compat.scala == "3.0") {
outputs("""assertion failed
List() == List(1, 2)
| | |
Expand All @@ -60,7 +60,7 @@ List() == List(1, 2)
}

test("List.apply2") {
if (Compat.scala == "3.0" || Compat.scala == "2.13") {
if (Compat.scala == "3.0") {
outputs("""assertion failed
List(1, 2) == List()
| | |
Expand Down

0 comments on commit e231592

Please sign in to comment.