Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Scala Steward: Reformat with scalafmt 3.10.3
9d7d8eea75cb143acef2ea55694317652437ee7c
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.7.17"
version = "3.10.3"
runner.dialect = scala3
align.preset = more
maxColumn = 120
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sonatypeRepository := "https://s01.oss.sonatype.org/service/loca

import ReleaseTransformations.*
releaseCrossBuild := true
releaseProcess := Seq[ReleaseStep](
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
Expand Down Expand Up @@ -153,7 +153,7 @@ lazy val testsuite = project

lazy val docs = (project in file("couldbe-docs")) // important: it must not be docs/
.settings(
moduleName := "couldbe-docs",
moduleName := "couldbe-docs",
mdocVariables := Map(
"VERSION" -> version.value
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ class Compiler_CouldBe_Test extends AnyFreeSpec with Matchers {
"For Either[_, Unit]" in {
ExampleFunction.willFailIfNotOne[EitherUnit](2) shouldBe Left(())
}
"For Id" in {
"For Id" in
assertThrows[Exception](ExampleFunction.willFailIfNotOne[Id](2))
}
}
}
}