Skip to content

Commit

Permalink
fix Scala 3 build
Browse files Browse the repository at this point in the history
  • Loading branch information
neko-kai committed Jun 20, 2024
1 parent 3abe9fa commit 0c53794
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ lazy val `graal-resources` = project
.in(file("graal-resources"))
.settings(Compile / resourceDirectory := baseDirectory.value)

lazy val root = project
lazy val `distage-example` = project
.in(file("."))
.aggregate(
`leaderboard-bifunctor-tf`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ abstract class LeaderboardTest extends SpecZIO with AssertZIO {
moduleOverrides = super.config.moduleOverrides ++ new ModuleDef {
make[Rnd[IO]].from[Rnd.Impl[IO]]
},
// For testing, setup a docker container with postgres,
// For testing, set up a docker container with postgres,
// instead of trying to connect to an external database
activation = Activation(Scene -> Scene.Managed),
// Instantiate Ladder & Profiles only once per test-run and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ abstract class LadderTest[F[_]: Sync: TagK: DefaultModule] extends LeaderboardTe

_ <-
if (score1 > score2) {
assertIO(user1Rank < user2Rank)
assertIO(user1Rank < user2Rank).void
} else if (score2 > score1) {
assertIO(user2Rank < user1Rank)
assertIO(user2Rank < user1Rank).void
} else Applicative[F].unit
} yield ()
}
Expand Down Expand Up @@ -192,9 +192,9 @@ abstract class RanksTest[F[_]: Sync: TagK: DefaultModule] extends LeaderboardTes

_ <-
if (score1 > score2) {
assertIO(user1Rank < user2Rank)
assertIO(user1Rank < user2Rank).void
} else if (score2 > score1) {
assertIO(user2Rank < user1Rank)
assertIO(user2Rank < user1Rank).void
} else Applicative[F].unit
} yield ()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ abstract class LeaderboardTest extends Spec1[IO] with AssertCIO {
moduleOverrides = super.config.moduleOverrides ++ new ModuleDef {
make[Rnd].from[Rnd.Impl]
},
// For testing, setup a docker container with postgres,
// For testing, set up a docker container with postgres,
// instead of trying to connect to an external database
activation = Activation(Scene -> Scene.Managed),
// Instantiate Ladder & Profiles only once per test-run and
Expand Down

0 comments on commit 0c53794

Please sign in to comment.