Skip to content

Commit

Permalink
Fixed DBIO export variables
Browse files Browse the repository at this point in the history
  • Loading branch information
takapi327 committed Dec 24, 2024
1 parent 2c8318f commit 1ebc640
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions module/ldbc-dsl/src/main/scala/ldbc/dsl/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ package object dsl:
orderByOpt((s1 :: s2 :: ss.toList).flatten)

type DBIO[T] = ldbc.dsl.DBIO[F, T]
val DBIO = ldbc.dsl.DBIO

export ldbc.dsl.logging.LogHandler

Expand Down
2 changes: 1 addition & 1 deletion tests/src/test/scala/ldbc/tests/ExecutorTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class DBIOTest extends CatsEffectSuite:
}

test("DBIO#attempt#Left") {
val program: DBIO[IO, Int] = DBIO.raiseError[IO, Int](new Exception("error"))
val program: DBIO[Int] = DBIO.raiseError[IO, Int](new Exception("error"))
assertIOBoolean(
connection.use { conn =>
program.attempt.execute(conn).map(_.isLeft)
Expand Down

0 comments on commit 1ebc640

Please sign in to comment.